summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/i8259.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-02-28 14:39:57 +0100
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:30:46 +0200
commit8ab00b9a02c55fd6263c5f7c0dc88389d94de327 (patch)
tree0893140cd9b2c80198950f3cd1b8053f951ca729 /arch/mips/kernel/i8259.c
parentNo barrier needed on au1x. (diff)
downloadlinux-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/kernel/i8259.c')
-rw-r--r--arch/mips/kernel/i8259.c15
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)
}
static struct hw_interrupt_type i8259A_irq_type = {
- "XT-PIC",
- startup_8259A_irq,
- shutdown_8259A_irq,
- enable_8259A_irq,
- disable_8259A_irq,
- mask_and_ack_8259A,
- end_8259A_irq,
- NULL
+ .typename = "XT-PIC",
+ .startup = startup_8259A_irq,
+ .shutdown = shutdown_8259A_irq,
+ .enable = enable_8259A_irq,
+ .disable = disable_8259A_irq,
+ .ack = mask_and_ack_8259A,
+ .end = end_8259A_irq,
};
/*