aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib/cpc700_pic.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-09-10 03:26:40 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-10 13:06:27 -0400
commit2830e21eb3c600865245478cd7a28ae73191b6b7 (patch)
treee95febb387b804654d6dd054411371a69b45e00b /arch/ppc/syslib/cpc700_pic.c
parent417ef531415c070926b071b75fd1c1ac4b6e2f7e (diff)
[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>
Diffstat (limited to 'arch/ppc/syslib/cpc700_pic.c')
-rw-r--r--arch/ppc/syslib/cpc700_pic.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/ppc/syslib/cpc700_pic.c b/arch/ppc/syslib/cpc700_pic.c
index 774709807538..75fe8eb10693 100644
--- a/arch/ppc/syslib/cpc700_pic.c
+++ b/arch/ppc/syslib/cpc700_pic.c
@@ -90,14 +90,10 @@ cpc700_mask_and_ack_irq(unsigned int irq)
90} 90}
91 91
92static struct hw_interrupt_type cpc700_pic = { 92static struct hw_interrupt_type cpc700_pic = {
93 "CPC700 PIC", 93 .typename = "CPC700 PIC",
94 NULL, 94 .enable = cpc700_unmask_irq,
95 NULL, 95 .disable = cpc700_mask_irq,
96 cpc700_unmask_irq, 96 .ack = cpc700_mask_and_ack_irq,
97 cpc700_mask_irq,
98 cpc700_mask_and_ack_irq,
99 NULL,
100 NULL
101}; 97};
102 98
103__init static void 99__init static void