diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2005-09-10 03:26:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 13:06:27 -0400 |
commit | 08d0fd07c3f0b6e561260f0b078d03d6fa1ac59f (patch) | |
tree | 7b3a127baae49a37952a8c015fe24e9567bce2a8 /arch/sh/boards/renesas | |
parent | 2830e21eb3c600865245478cd7a28ae73191b6b7 (diff) |
[PATCH] SH: 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>
Diffstat (limited to 'arch/sh/boards/renesas')
-rw-r--r-- | arch/sh/boards/renesas/hs7751rvoip/irq.c | 14 | ||||
-rw-r--r-- | arch/sh/boards/renesas/rts7751r2d/irq.c | 14 | ||||
-rw-r--r-- | arch/sh/boards/renesas/systemh/irq.c | 14 |
3 files changed, 21 insertions, 21 deletions
diff --git a/arch/sh/boards/renesas/hs7751rvoip/irq.c b/arch/sh/boards/renesas/hs7751rvoip/irq.c index a7921f67a35f..ed4c5b50ea45 100644 --- a/arch/sh/boards/renesas/hs7751rvoip/irq.c +++ b/arch/sh/boards/renesas/hs7751rvoip/irq.c | |||
@@ -74,13 +74,13 @@ static void end_hs7751rvoip_irq(unsigned int irq) | |||
74 | } | 74 | } |
75 | 75 | ||
76 | static struct hw_interrupt_type hs7751rvoip_irq_type = { | 76 | static struct hw_interrupt_type hs7751rvoip_irq_type = { |
77 | "HS7751RVoIP IRQ", | 77 | .typename = "HS7751RVoIP IRQ", |
78 | startup_hs7751rvoip_irq, | 78 | .startup = startup_hs7751rvoip_irq, |
79 | shutdown_hs7751rvoip_irq, | 79 | .shutdown = shutdown_hs7751rvoip_irq, |
80 | enable_hs7751rvoip_irq, | 80 | .enable = enable_hs7751rvoip_irq, |
81 | disable_hs7751rvoip_irq, | 81 | .disable = disable_hs7751rvoip_irq, |
82 | ack_hs7751rvoip_irq, | 82 | .ack = ack_hs7751rvoip_irq, |
83 | end_hs7751rvoip_irq, | 83 | .end = end_hs7751rvoip_irq, |
84 | }; | 84 | }; |
85 | 85 | ||
86 | static void make_hs7751rvoip_irq(unsigned int irq) | 86 | static void make_hs7751rvoip_irq(unsigned int irq) |
diff --git a/arch/sh/boards/renesas/rts7751r2d/irq.c b/arch/sh/boards/renesas/rts7751r2d/irq.c index 95717f4f1e2d..d36c9374aed1 100644 --- a/arch/sh/boards/renesas/rts7751r2d/irq.c +++ b/arch/sh/boards/renesas/rts7751r2d/irq.c | |||
@@ -88,13 +88,13 @@ static void end_rts7751r2d_irq(unsigned int irq) | |||
88 | } | 88 | } |
89 | 89 | ||
90 | static struct hw_interrupt_type rts7751r2d_irq_type = { | 90 | static struct hw_interrupt_type rts7751r2d_irq_type = { |
91 | "RTS7751R2D IRQ", | 91 | .typename = "RTS7751R2D IRQ", |
92 | startup_rts7751r2d_irq, | 92 | .startup = startup_rts7751r2d_irq, |
93 | shutdown_rts7751r2d_irq, | 93 | .shutdown = shutdown_rts7751r2d_irq, |
94 | enable_rts7751r2d_irq, | 94 | .enable = enable_rts7751r2d_irq, |
95 | disable_rts7751r2d_irq, | 95 | .disable = disable_rts7751r2d_irq, |
96 | ack_rts7751r2d_irq, | 96 | .ack = ack_rts7751r2d_irq, |
97 | end_rts7751r2d_irq, | 97 | .end = end_rts7751r2d_irq, |
98 | }; | 98 | }; |
99 | 99 | ||
100 | static void make_rts7751r2d_irq(unsigned int irq) | 100 | static void make_rts7751r2d_irq(unsigned int irq) |
diff --git a/arch/sh/boards/renesas/systemh/irq.c b/arch/sh/boards/renesas/systemh/irq.c index 5675a4134eee..7a2eb10edb56 100644 --- a/arch/sh/boards/renesas/systemh/irq.c +++ b/arch/sh/boards/renesas/systemh/irq.c | |||
@@ -35,13 +35,13 @@ static void end_systemh_irq(unsigned int irq); | |||
35 | 35 | ||
36 | /* hw_interrupt_type */ | 36 | /* hw_interrupt_type */ |
37 | static struct hw_interrupt_type systemh_irq_type = { | 37 | static struct hw_interrupt_type systemh_irq_type = { |
38 | " SystemH Register", | 38 | .typename = " SystemH Register", |
39 | startup_systemh_irq, | 39 | .startup = startup_systemh_irq, |
40 | shutdown_systemh_irq, | 40 | .shutdown = shutdown_systemh_irq, |
41 | enable_systemh_irq, | 41 | .enable = enable_systemh_irq, |
42 | disable_systemh_irq, | 42 | .disable = disable_systemh_irq, |
43 | mask_and_ack_systemh, | 43 | .ack = mask_and_ack_systemh, |
44 | end_systemh_irq | 44 | .end = end_systemh_irq |
45 | }; | 45 | }; |
46 | 46 | ||
47 | static unsigned int startup_systemh_irq(unsigned int irq) | 47 | static unsigned int startup_systemh_irq(unsigned int irq) |