diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2005-09-10 00:26:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 10:06:27 -0700 |
commit | 2830e21eb3c600865245478cd7a28ae73191b6b7 (patch) | |
tree | e95febb387b804654d6dd054411371a69b45e00b /arch/ppc/syslib/open_pic2.c | |
parent | 417ef531415c070926b071b75fd1c1ac4b6e2f7e (diff) | |
download | op-kernel-dev-2830e21eb3c600865245478cd7a28ae73191b6b7.zip op-kernel-dev-2830e21eb3c600865245478cd7a28ae73191b6b7.tar.gz |
[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/open_pic2.c')
-rw-r--r-- | arch/ppc/syslib/open_pic2.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/ppc/syslib/open_pic2.c b/arch/ppc/syslib/open_pic2.c index 7e272c5..2e0ea92 100644 --- a/arch/ppc/syslib/open_pic2.c +++ b/arch/ppc/syslib/open_pic2.c @@ -82,13 +82,11 @@ static void openpic2_end_irq(unsigned int irq_nr); static void openpic2_ack_irq(unsigned int irq_nr); struct hw_interrupt_type open_pic2 = { - " OpenPIC2 ", - NULL, - NULL, - openpic2_enable_irq, - openpic2_disable_irq, - openpic2_ack_irq, - openpic2_end_irq, + .typename = " OpenPIC2 ", + .enable = openpic2_enable_irq, + .disable = openpic2_disable_irq, + .ack = openpic2_ack_irq, + .end = openpic2_end_irq, }; /* |