diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2005-09-10 03:26:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 13:06:27 -0400 |
commit | 2830e21eb3c600865245478cd7a28ae73191b6b7 (patch) | |
tree | e95febb387b804654d6dd054411371a69b45e00b /arch/ppc/syslib/i8259.c | |
parent | 417ef531415c070926b071b75fd1c1ac4b6e2f7e (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/i8259.c')
-rw-r--r-- | arch/ppc/syslib/i8259.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/arch/ppc/syslib/i8259.c b/arch/ppc/syslib/i8259.c index b9391e650141..5c7908c20e43 100644 --- a/arch/ppc/syslib/i8259.c +++ b/arch/ppc/syslib/i8259.c | |||
@@ -129,14 +129,11 @@ static void i8259_end_irq(unsigned int irq) | |||
129 | } | 129 | } |
130 | 130 | ||
131 | struct hw_interrupt_type i8259_pic = { | 131 | struct hw_interrupt_type i8259_pic = { |
132 | " i8259 ", | 132 | .typename = " i8259 ", |
133 | NULL, | 133 | .enable = i8259_unmask_irq, |
134 | NULL, | 134 | .disable = i8259_mask_irq, |
135 | i8259_unmask_irq, | 135 | .ack = i8259_mask_and_ack_irq, |
136 | i8259_mask_irq, | 136 | .end = i8259_end_irq, |
137 | i8259_mask_and_ack_irq, | ||
138 | i8259_end_irq, | ||
139 | NULL | ||
140 | }; | 137 | }; |
141 | 138 | ||
142 | static struct resource pic1_iores = { | 139 | static struct resource pic1_iores = { |