summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Nyberg <alexn@telia.com>2005-06-23 00:08:35 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-23 09:45:12 -0700
commitc0a88c987878e533fc21fbf684198021a3b2c279 (patch)
tree93ba058223c8b6d97f4ed557a07308735ad2cd8a
parentc92c6ffdb16990872acf4ce8b24f82f98fcbbb68 (diff)
downloadlinux-3.10-c0a88c987878e533fc21fbf684198021a3b2c279.tar.gz
linux-3.10-c0a88c987878e533fc21fbf684198021a3b2c279.tar.bz2
linux-3.10-c0a88c987878e533fc21fbf684198021a3b2c279.zip
[PATCH] x86_64: i8259.c iso99 structure initialization
Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/x86_64/kernel/i8259.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/x86_64/kernel/i8259.c b/arch/x86_64/kernel/i8259.c
index 7873d9ba881..19eafa0aa95 100644
--- a/arch/x86_64/kernel/i8259.c
+++ b/arch/x86_64/kernel/i8259.c
@@ -157,14 +157,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,
};
/*