Commit 17ee4446 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Linus Torvalds

[PATCH] i386: C99 initializers for hw_interrupt_type structures

Convert the initializers of hw_interrupt_type structures to C99 initializers.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0cc880d1
...@@ -58,14 +58,13 @@ unsigned int startup_8259A_irq(unsigned int irq) ...@@ -58,14 +58,13 @@ unsigned int startup_8259A_irq(unsigned int irq)
} }
static struct hw_interrupt_type i8259A_irq_type = { static struct hw_interrupt_type i8259A_irq_type = {
"XT-PIC", .typename = "XT-PIC",
startup_8259A_irq, .startup = startup_8259A_irq,
shutdown_8259A_irq, .shutdown = shutdown_8259A_irq,
enable_8259A_irq, .enable = enable_8259A_irq,
disable_8259A_irq, .disable = disable_8259A_irq,
mask_and_ack_8259A, .ack = mask_and_ack_8259A,
end_8259A_irq, .end = end_8259A_irq,
NULL
}; };
/* /*
......
...@@ -210,14 +210,14 @@ ack_CPI(__u8 cpi) ...@@ -210,14 +210,14 @@ ack_CPI(__u8 cpi)
* 8259 IRQs except that masks and things must be kept per processor * 8259 IRQs except that masks and things must be kept per processor
*/ */
static struct hw_interrupt_type vic_irq_type = { static struct hw_interrupt_type vic_irq_type = {
"VIC-level", .typename = "VIC-level",
startup_vic_irq, /* startup */ .startup = startup_vic_irq,
disable_vic_irq, /* shutdown */ .shutdown = disable_vic_irq,
enable_vic_irq, /* enable */ .enable = enable_vic_irq,
disable_vic_irq, /* disable */ .disable = disable_vic_irq,
before_handle_vic_irq, /* ack */ .ack = before_handle_vic_irq,
after_handle_vic_irq, /* end */ .end = after_handle_vic_irq,
set_vic_irq_affinity, /* affinity */ .set_affinity = set_vic_irq_affinity,
}; };
/* used to count up as CPUs are brought on line (starts at 0) */ /* used to count up as CPUs are brought on line (starts at 0) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment