[PATCH] SH: C99 initializers for hw_interrupt_type structures
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

کامیت شده توسط
Linus Torvalds

والد
2830e21eb3
کامیت
08d0fd07c3
@@ -74,13 +74,13 @@ static void end_hs7751rvoip_irq(unsigned int irq)
|
||||
}
|
||||
|
||||
static struct hw_interrupt_type hs7751rvoip_irq_type = {
|
||||
"HS7751RVoIP IRQ",
|
||||
startup_hs7751rvoip_irq,
|
||||
shutdown_hs7751rvoip_irq,
|
||||
enable_hs7751rvoip_irq,
|
||||
disable_hs7751rvoip_irq,
|
||||
ack_hs7751rvoip_irq,
|
||||
end_hs7751rvoip_irq,
|
||||
.typename = "HS7751RVoIP IRQ",
|
||||
.startup = startup_hs7751rvoip_irq,
|
||||
.shutdown = shutdown_hs7751rvoip_irq,
|
||||
.enable = enable_hs7751rvoip_irq,
|
||||
.disable = disable_hs7751rvoip_irq,
|
||||
.ack = ack_hs7751rvoip_irq,
|
||||
.end = end_hs7751rvoip_irq,
|
||||
};
|
||||
|
||||
static void make_hs7751rvoip_irq(unsigned int irq)
|
||||
|
@@ -88,13 +88,13 @@ static void end_rts7751r2d_irq(unsigned int irq)
|
||||
}
|
||||
|
||||
static struct hw_interrupt_type rts7751r2d_irq_type = {
|
||||
"RTS7751R2D IRQ",
|
||||
startup_rts7751r2d_irq,
|
||||
shutdown_rts7751r2d_irq,
|
||||
enable_rts7751r2d_irq,
|
||||
disable_rts7751r2d_irq,
|
||||
ack_rts7751r2d_irq,
|
||||
end_rts7751r2d_irq,
|
||||
.typename = "RTS7751R2D IRQ",
|
||||
.startup = startup_rts7751r2d_irq,
|
||||
.shutdown = shutdown_rts7751r2d_irq,
|
||||
.enable = enable_rts7751r2d_irq,
|
||||
.disable = disable_rts7751r2d_irq,
|
||||
.ack = ack_rts7751r2d_irq,
|
||||
.end = end_rts7751r2d_irq,
|
||||
};
|
||||
|
||||
static void make_rts7751r2d_irq(unsigned int irq)
|
||||
|
@@ -35,13 +35,13 @@ static void end_systemh_irq(unsigned int irq);
|
||||
|
||||
/* hw_interrupt_type */
|
||||
static struct hw_interrupt_type systemh_irq_type = {
|
||||
" SystemH Register",
|
||||
startup_systemh_irq,
|
||||
shutdown_systemh_irq,
|
||||
enable_systemh_irq,
|
||||
disable_systemh_irq,
|
||||
mask_and_ack_systemh,
|
||||
end_systemh_irq
|
||||
.typename = " SystemH Register",
|
||||
.startup = startup_systemh_irq,
|
||||
.shutdown = shutdown_systemh_irq,
|
||||
.enable = enable_systemh_irq,
|
||||
.disable = disable_systemh_irq,
|
||||
.ack = mask_and_ack_systemh,
|
||||
.end = end_systemh_irq
|
||||
};
|
||||
|
||||
static unsigned int startup_systemh_irq(unsigned int irq)
|
||||
|
مرجع در شماره جدید
Block a user