* [PATCH] PPC64: C99 initializers for hw_interrupt_type
@ 2005-03-07 9:44 Paul Mackerras
0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2005-03-07 9:44 UTC (permalink / raw)
To: akpm, torvalds; +Cc: tglx, anton, linux-kernel
This patch is from Thomas Gleixner <tglx@linutronix.de>.
Convert the initializers of hw_interrupt_type structures to C99
initializers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
diff -urN 2.6.11-rc5.orig/arch/ppc64/kernel/i8259.c 2.6.11-rc5/arch/ppc64/kernel/i8259.c
--- 2.6.11-rc5.orig/arch/ppc64/kernel/i8259.c 2005-01-24 12:25:36.000000000 +0100
+++ 2.6.11-rc5/arch/ppc64/kernel/i8259.c 2005-02-26 20:54:19.000000000 +0100
@@ -131,14 +131,11 @@
}
struct hw_interrupt_type i8259_pic = {
- " i8259 ",
- NULL,
- NULL,
- i8259_unmask_irq,
- i8259_mask_irq,
- i8259_mask_and_ack_irq,
- i8259_end_irq,
- NULL
+ .typename = " i8259 ",
+ .enable = i8259_unmask_irq,
+ .disable = i8259_mask_irq,
+ .ack = i8259_mask_and_ack_irq,
+ .end = i8259_end_irq,
};
void __init i8259_init(int offset)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-07 9:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-07 9:44 [PATCH] PPC64: C99 initializers for hw_interrupt_type Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®