[PATCH] PPC: 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

parent
417ef53141
commit
2830e21eb3
@@ -90,14 +90,10 @@ cpc700_mask_and_ack_irq(unsigned int irq)
|
||||
}
|
||||
|
||||
static struct hw_interrupt_type cpc700_pic = {
|
||||
"CPC700 PIC",
|
||||
NULL,
|
||||
NULL,
|
||||
cpc700_unmask_irq,
|
||||
cpc700_mask_irq,
|
||||
cpc700_mask_and_ack_irq,
|
||||
NULL,
|
||||
NULL
|
||||
.typename = "CPC700 PIC",
|
||||
.enable = cpc700_unmask_irq,
|
||||
.disable = cpc700_mask_irq,
|
||||
.ack = cpc700_mask_and_ack_irq,
|
||||
};
|
||||
|
||||
__init static void
|
||||
|
Reference in New Issue
Block a user