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/ppc403_pic.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/ppc403_pic.c')
-rw-r--r-- | arch/ppc/syslib/ppc403_pic.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/ppc/syslib/ppc403_pic.c b/arch/ppc/syslib/ppc403_pic.c index 06cb0af2a58d..ce4d1deb86e9 100644 --- a/arch/ppc/syslib/ppc403_pic.c +++ b/arch/ppc/syslib/ppc403_pic.c | |||
@@ -34,13 +34,10 @@ static void ppc403_aic_disable(unsigned int irq); | |||
34 | static void ppc403_aic_disable_and_ack(unsigned int irq); | 34 | static void ppc403_aic_disable_and_ack(unsigned int irq); |
35 | 35 | ||
36 | static struct hw_interrupt_type ppc403_aic = { | 36 | static struct hw_interrupt_type ppc403_aic = { |
37 | "403GC AIC", | 37 | .typename = "403GC AIC", |
38 | NULL, | 38 | .enable = ppc403_aic_enable, |
39 | NULL, | 39 | .disable = ppc403_aic_disable, |
40 | ppc403_aic_enable, | 40 | .ack = ppc403_aic_disable_and_ack, |
41 | ppc403_aic_disable, | ||
42 | ppc403_aic_disable_and_ack, | ||
43 | 0 | ||
44 | }; | 41 | }; |
45 | 42 | ||
46 | int | 43 | int |