diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 05:17:31 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 05:17:31 -0400 |
commit | 2c7834a6f15fe6c50ed4766f1bb6f9183b9e2740 (patch) | |
tree | 2dee1fc4b2cd69d8e7f07e0462c57c98261a9fcf /arch/sh/boards/renesas/systemh/setup.c | |
parent | bc8fb5d0471473f775378d09db712dcb8eeece75 (diff) |
sh: machvec rework.
Some more machvec overhauling and setup code cleanup. Kill off
get_system_type() and platform_setup(), we can do these both
through the machvec. While we're add it, kill off more useless
mach.c's and drop some legacy cruft from setup.c.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/renesas/systemh/setup.c')
-rw-r--r-- | arch/sh/boards/renesas/systemh/setup.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/arch/sh/boards/renesas/systemh/setup.c b/arch/sh/boards/renesas/systemh/setup.c index 433c7c3f35e2..a8467bf90c25 100644 --- a/arch/sh/boards/renesas/systemh/setup.c +++ b/arch/sh/boards/renesas/systemh/setup.c | |||
@@ -20,20 +20,16 @@ | |||
20 | 20 | ||
21 | extern void make_systemh_irq(unsigned int irq); | 21 | extern void make_systemh_irq(unsigned int irq); |
22 | 22 | ||
23 | const char *get_system_type(void) | ||
24 | { | ||
25 | return "7751 SystemH"; | ||
26 | } | ||
27 | |||
28 | /* | 23 | /* |
29 | * Initialize IRQ setting | 24 | * Initialize IRQ setting |
30 | */ | 25 | */ |
31 | void __init init_7751systemh_IRQ(void) | 26 | static void __init sh7751systemh_init_irq(void) |
32 | { | 27 | { |
33 | make_systemh_irq(0xb); /* Ethernet interrupt */ | 28 | make_systemh_irq(0xb); /* Ethernet interrupt */ |
34 | } | 29 | } |
35 | 30 | ||
36 | struct sh_machine_vector mv_7751systemh __initmv = { | 31 | struct sh_machine_vector mv_7751systemh __initmv = { |
32 | .mv_name = "7751 SystemH", | ||
37 | .mv_nr_irqs = 72, | 33 | .mv_nr_irqs = 72, |
38 | 34 | ||
39 | .mv_inb = sh7751systemh_inb, | 35 | .mv_inb = sh7751systemh_inb, |
@@ -57,12 +53,6 @@ struct sh_machine_vector mv_7751systemh __initmv = { | |||
57 | .mv_outsw = sh7751systemh_outsw, | 53 | .mv_outsw = sh7751systemh_outsw, |
58 | .mv_outsl = sh7751systemh_outsl, | 54 | .mv_outsl = sh7751systemh_outsl, |
59 | 55 | ||
60 | .mv_init_irq = init_7751systemh_IRQ, | 56 | .mv_init_irq = sh7751system_init_irq, |
61 | }; | 57 | }; |
62 | ALIAS_MV(7751systemh) | 58 | ALIAS_MV(7751systemh) |
63 | |||
64 | int __init platform_setup(void) | ||
65 | { | ||
66 | return 0; | ||
67 | } | ||
68 | |||