diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-02-28 08:39:57 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:46 -0400 |
commit | 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 (patch) | |
tree | 0893140cd9b2c80198950f3cd1b8053f951ca729 /arch/mips/kernel/i8259.c | |
parent | d437441ef5336874e934bd53a03159a584efe95a (diff) |
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/kernel/i8259.c')
-rw-r--r-- | arch/mips/kernel/i8259.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c index 447759201d1d..bb31370cd390 100644 --- a/arch/mips/kernel/i8259.c +++ b/arch/mips/kernel/i8259.c | |||
@@ -52,14 +52,13 @@ static unsigned int startup_8259A_irq(unsigned int irq) | |||
52 | } | 52 | } |
53 | 53 | ||
54 | static struct hw_interrupt_type i8259A_irq_type = { | 54 | static struct hw_interrupt_type i8259A_irq_type = { |
55 | "XT-PIC", | 55 | .typename = "XT-PIC", |
56 | startup_8259A_irq, | 56 | .startup = startup_8259A_irq, |
57 | shutdown_8259A_irq, | 57 | .shutdown = shutdown_8259A_irq, |
58 | enable_8259A_irq, | 58 | .enable = enable_8259A_irq, |
59 | disable_8259A_irq, | 59 | .disable = disable_8259A_irq, |
60 | mask_and_ack_8259A, | 60 | .ack = mask_and_ack_8259A, |
61 | end_8259A_irq, | 61 | .end = end_8259A_irq, |
62 | NULL | ||
63 | }; | 62 | }; |
64 | 63 | ||
65 | /* | 64 | /* |