diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-02-28 14:39:57 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 20:30:46 +0200 |
commit | 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 (patch) | |
tree | 0893140cd9b2c80198950f3cd1b8053f951ca729 /arch/mips/ddb5xxx/ddb5477/irq_5477.c | |
parent | No barrier needed on au1x. (diff) | |
download | linux-8ab00b9a02c55fd6263c5f7c0dc88389d94de327.tar.xz linux-8ab00b9a02c55fd6263c5f7c0dc88389d94de327.zip |
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/ddb5477/irq_5477.c')
-rw-r--r-- | arch/mips/ddb5xxx/ddb5477/irq_5477.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/mips/ddb5xxx/ddb5477/irq_5477.c b/arch/mips/ddb5xxx/ddb5477/irq_5477.c index 0d5e706207ec..5fcd5f070cdc 100644 --- a/arch/mips/ddb5xxx/ddb5477/irq_5477.c +++ b/arch/mips/ddb5xxx/ddb5477/irq_5477.c @@ -90,14 +90,13 @@ vrc5477_irq_end(unsigned int irq) } hw_irq_controller vrc5477_irq_controller = { - "vrc5477_irq", - vrc5477_irq_startup, - vrc5477_irq_shutdown, - vrc5477_irq_enable, - vrc5477_irq_disable, - vrc5477_irq_ack, - vrc5477_irq_end, - NULL /* no affinity stuff for UP */ + .typename = "vrc5477_irq", + .startup = vrc5477_irq_startup, + .shutdown = vrc5477_irq_shutdown, + .enable = vrc5477_irq_enable, + .disable = vrc5477_irq_disable, + .ack = vrc5477_irq_ack, + .end = vrc5477_irq_end }; void __init vrc5477_irq_init(u32 irq_base) |