diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-06 21:39:35 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-11-06 21:39:35 -0500 |
commit | c7a0e13d0a5316587da0b6d8b3291a473a7df453 (patch) | |
tree | c4d7261a672acfccb585ff770abcff302e9eed50 | |
parent | b7b23870040b78b3c7910597b02ef6c8a368fd19 (diff) |
sh: hs7751rvoip: Kill off dead IPR IRQ mappings.
This is dead code, and doesn't build anyways. Kill it off.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/boards/renesas/hs7751rvoip/setup.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/arch/sh/boards/renesas/hs7751rvoip/setup.c b/arch/sh/boards/renesas/hs7751rvoip/setup.c index fa5fa3920222..c05625975f2c 100644 --- a/arch/sh/boards/renesas/hs7751rvoip/setup.c +++ b/arch/sh/boards/renesas/hs7751rvoip/setup.c | |||
@@ -15,20 +15,6 @@ | |||
15 | #include <asm/io.h> | 15 | #include <asm/io.h> |
16 | #include <asm/machvec.h> | 16 | #include <asm/machvec.h> |
17 | 17 | ||
18 | static struct ipr_data hs77501rvoip_ipr_map[] = { | ||
19 | #if defined(CONFIG_HS7751RVOIP_CODEC) | ||
20 | { DMTE0_IRQ, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, | ||
21 | { DMTE1_IRQ, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, | ||
22 | #endif | ||
23 | }; | ||
24 | |||
25 | static void __init hs7751rvoip_init_irq(void) | ||
26 | { | ||
27 | make_ipr_irq(hs77501rvoip_ipr_map, ARRAY_SIZE(hs77501rvoip_ipr_map)); | ||
28 | |||
29 | init_hs7751rvoip_IRQ(); | ||
30 | } | ||
31 | |||
32 | static void hs7751rvoip_power_off(void) | 18 | static void hs7751rvoip_power_off(void) |
33 | { | 19 | { |
34 | ctrl_outw(ctrl_inw(PA_OUTPORTR) & 0xffdf, PA_OUTPORTR); | 20 | ctrl_outw(ctrl_inw(PA_OUTPORTR) & 0xffdf, PA_OUTPORTR); |
@@ -75,14 +61,13 @@ static int __init hs7751rvoip_cf_init(void) | |||
75 | 61 | ||
76 | return 0; | 62 | return 0; |
77 | } | 63 | } |
64 | device_initcall(hs7751rvoip_cf_init); | ||
78 | 65 | ||
79 | /* | 66 | /* |
80 | * Initialize the board | 67 | * Initialize the board |
81 | */ | 68 | */ |
82 | static void __init hs7751rvoip_setup(char **cmdline_p) | 69 | static void __init hs7751rvoip_setup(char **cmdline_p) |
83 | { | 70 | { |
84 | device_initcall(hs7751rvoip_cf_init); | ||
85 | |||
86 | ctrl_outb(0xf0, PA_OUTPORTR); | 71 | ctrl_outb(0xf0, PA_OUTPORTR); |
87 | pm_power_off = hs7751rvoip_power_off; | 72 | pm_power_off = hs7751rvoip_power_off; |
88 | 73 | ||
@@ -115,6 +100,6 @@ static struct sh_machine_vector mv_hs7751rvoip __initmv = { | |||
115 | .mv_outsw = hs7751rvoip_outsw, | 100 | .mv_outsw = hs7751rvoip_outsw, |
116 | .mv_outsl = hs7751rvoip_outsl, | 101 | .mv_outsl = hs7751rvoip_outsl, |
117 | 102 | ||
118 | .mv_init_irq = hs7751rvoip_init_irq, | 103 | .mv_init_irq = init_hs7751rvoip_IRQ, |
119 | .mv_ioport_map = hs7751rvoip_ioport_map, | 104 | .mv_ioport_map = hs7751rvoip_ioport_map, |
120 | }; | 105 | }; |