diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-02-28 16:39:57 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 22:30:46 +0400 |
commit | 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 (patch) | |
tree | 0893140cd9b2c80198950f3cd1b8053f951ca729 /arch/mips/ddb5xxx/ddb5074/nile4_pic.c | |
parent | d437441ef5336874e934bd53a03159a584efe95a (diff) | |
download | linux-8ab00b9a02c55fd6263c5f7c0dc88389d94de327.tar.xz |
Convert struct hw_interrupt_type initializations to ISO C99 named
initializers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ddb5xxx/ddb5074/nile4_pic.c')
-rw-r--r-- | arch/mips/ddb5xxx/ddb5074/nile4_pic.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/mips/ddb5xxx/ddb5074/nile4_pic.c b/arch/mips/ddb5xxx/ddb5074/nile4_pic.c index 68c127cd70c9..8743ffce8653 100644 --- a/arch/mips/ddb5xxx/ddb5074/nile4_pic.c +++ b/arch/mips/ddb5xxx/ddb5074/nile4_pic.c @@ -209,14 +209,13 @@ static void nile4_irq_end(unsigned int irq) { #define nile4_irq_shutdown nile4_disable_irq static hw_irq_controller nile4_irq_controller = { - "nile4", - nile4_irq_startup, - nile4_irq_shutdown, - nile4_enable_irq, - nile4_disable_irq, - nile4_ack_irq, - nile4_irq_end, - NULL + .typename = "nile4", + .startup = nile4_irq_startup, + .shutdown = nile4_irq_shutdown, + .enable = nile4_enable_irq, + .disable = nile4_disable_irq, + .ack = nile4_ack_irq, + .end = nile4_irq_end, }; void nile4_irq_setup(u32 base) { |