[PATCH] V850: C99 initializers for hw_interrupt_type structures
Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
08d0fd07c3
commit
aecd4568ac
@@ -67,13 +67,13 @@ static void ack_none(unsigned int irq)
|
|||||||
#define end_none enable_none
|
#define end_none enable_none
|
||||||
|
|
||||||
struct hw_interrupt_type no_irq_type = {
|
struct hw_interrupt_type no_irq_type = {
|
||||||
"none",
|
.typename = "none",
|
||||||
startup_none,
|
.startup = startup_none,
|
||||||
shutdown_none,
|
.shutdown = shutdown_none,
|
||||||
enable_none,
|
.enable = enable_none,
|
||||||
disable_none,
|
.disable = disable_none,
|
||||||
ack_none,
|
.ack = ack_none,
|
||||||
end_none
|
.end = end_none
|
||||||
};
|
};
|
||||||
|
|
||||||
volatile unsigned long irq_err_count, spurious_count;
|
volatile unsigned long irq_err_count, spurious_count;
|
||||||
|
@@ -138,13 +138,13 @@ static void nmi_end (unsigned irq)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct hw_interrupt_type nmi_irq_type = {
|
static struct hw_interrupt_type nmi_irq_type = {
|
||||||
"NMI",
|
.typename = "NMI",
|
||||||
irq_zero, /* startup */
|
.startup = irq_zero, /* startup */
|
||||||
irq_nop, /* shutdown */
|
.shutdown = irq_nop, /* shutdown */
|
||||||
irq_nop, /* enable */
|
.enable = irq_nop, /* enable */
|
||||||
irq_nop, /* disable */
|
.disable = irq_nop, /* disable */
|
||||||
irq_nop, /* ack */
|
.ack = irq_nop, /* ack */
|
||||||
nmi_end, /* end */
|
.end = nmi_end, /* end */
|
||||||
};
|
};
|
||||||
|
|
||||||
void __init init_IRQ (void)
|
void __init init_IRQ (void)
|
||||||
|
@@ -73,13 +73,13 @@ static void irq_nop (unsigned irq) { }
|
|||||||
static unsigned irq_zero (unsigned irq) { return 0; }
|
static unsigned irq_zero (unsigned irq) { return 0; }
|
||||||
|
|
||||||
static struct hw_interrupt_type sim_irq_type = {
|
static struct hw_interrupt_type sim_irq_type = {
|
||||||
"IRQ",
|
.typename = "IRQ",
|
||||||
irq_zero, /* startup */
|
.startup = irq_zero, /* startup */
|
||||||
irq_nop, /* shutdown */
|
.shutdown = irq_nop, /* shutdown */
|
||||||
irq_nop, /* enable */
|
.enable = irq_nop, /* enable */
|
||||||
irq_nop, /* disable */
|
.disable = irq_nop, /* disable */
|
||||||
irq_nop, /* ack */
|
.ack = irq_nop, /* ack */
|
||||||
irq_nop, /* end */
|
.end = irq_nop, /* end */
|
||||||
};
|
};
|
||||||
|
|
||||||
void __init mach_init_irqs (void)
|
void __init mach_init_irqs (void)
|
||||||
|
Reference in New Issue
Block a user