[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:

committed by
Linus Torvalds

szülő
2830e21eb3
commit
08d0fd07c3
@@ -39,13 +39,13 @@ static unsigned int startup_harp_irq(unsigned int irq)
|
||||
}
|
||||
|
||||
static struct hw_interrupt_type harp_irq_type = {
|
||||
"Harp-IRQ",
|
||||
startup_harp_irq,
|
||||
shutdown_harp_irq,
|
||||
enable_harp_irq,
|
||||
disable_harp_irq,
|
||||
mask_and_ack_harp,
|
||||
end_harp_irq
|
||||
.typename = "Harp-IRQ",
|
||||
.startup = startup_harp_irq,
|
||||
.shutdown = shutdown_harp_irq,
|
||||
.enable = enable_harp_irq,
|
||||
.disable = disable_harp_irq,
|
||||
.ack = mask_and_ack_harp,
|
||||
.end = end_harp_irq
|
||||
};
|
||||
|
||||
static void disable_harp_irq(unsigned int irq)
|
||||
|
Reference in New Issue
Block a user