diff options
author | Magnus Damm <damm@igel.co.jp> | 2007-08-16 11:45:35 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-20 22:57:50 -0400 |
commit | 5c37e025352b993d8726b0207ff2270b2f2bc7d6 (patch) | |
tree | 87463d1c79600c37d3df06cbdbdf14bdc6de5094 /arch/sh/boards/renesas | |
parent | 46420e49c9fd76defecfb3f048ab20c5a72dfd0a (diff) |
sh: intc - mark data structures as __initdata
With the intc core improved it is now possible to put the intc data
structures in the initdata section.
Version two of this patch puts the __initdata inside DECLARE_INTC_DESC()
and removes the __initdata included in the board specific r2d code.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/renesas')
-rw-r--r-- | arch/sh/boards/renesas/rts7751r2d/irq.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/sh/boards/renesas/rts7751r2d/irq.c b/arch/sh/boards/renesas/rts7751r2d/irq.c index 878852158b45..12aae0ce1d11 100644 --- a/arch/sh/boards/renesas/rts7751r2d/irq.c +++ b/arch/sh/boards/renesas/rts7751r2d/irq.c | |||
@@ -71,9 +71,8 @@ static unsigned char irl2irq_r2d_1[R2D_NR_IRL] __initdata = { | |||
71 | IRQ_TP, | 71 | IRQ_TP, |
72 | }; | 72 | }; |
73 | 73 | ||
74 | static __initdata DECLARE_INTC_DESC(intc_desc_r2d_1, "r2d-1", | 74 | static DECLARE_INTC_DESC(intc_desc_r2d_1, "r2d-1", vectors_r2d_1, |
75 | vectors_r2d_1, NULL, NULL, | 75 | NULL, NULL, mask_registers_r2d_1, NULL, NULL); |
76 | mask_registers_r2d_1, NULL, NULL); | ||
77 | 76 | ||
78 | #endif /* CONFIG_RTS7751R2D_1 */ | 77 | #endif /* CONFIG_RTS7751R2D_1 */ |
79 | 78 | ||
@@ -110,9 +109,8 @@ static unsigned char irl2irq_r2d_plus[R2D_NR_IRL] __initdata = { | |||
110 | IRQ_TP, | 109 | IRQ_TP, |
111 | }; | 110 | }; |
112 | 111 | ||
113 | static __initdata DECLARE_INTC_DESC(intc_desc_r2d_plus, "r2d-plus", | 112 | static DECLARE_INTC_DESC(intc_desc_r2d_plus, "r2d-plus", vectors_r2d_plus, |
114 | vectors_r2d_plus, NULL, NULL, | 113 | NULL, NULL, mask_registers_r2d_plus, NULL, NULL); |
115 | mask_registers_r2d_plus, NULL, NULL); | ||
116 | 114 | ||
117 | #endif /* CONFIG_RTS7751R2D_PLUS */ | 115 | #endif /* CONFIG_RTS7751R2D_PLUS */ |
118 | 116 | ||