diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-15 02:19:34 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-06-07 22:43:39 -0400 |
commit | 82f81f4784479df17a80caff4a7156da0a2f7dea (patch) | |
tree | 3679bd23f2c9daa24f9cf3e170a33f851ed45029 /arch/sh/boards/se/7300/setup.c | |
parent | 25f8151bdcdd62c6b879e3669a562c0d329eee4a (diff) |
sh: Kill off machvec aliases.
We now throw all of the machvecs in to .machvec.init and either
select one on the command line, or copy out the first (and
usually only) one to sh_mv. The rest are freed as usual.
This gets rid of all of the silly sh_mv aliasing and makes the
selection explicit rather than link-order dependent.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/se/7300/setup.c')
-rw-r--r-- | arch/sh/boards/se/7300/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/boards/se/7300/setup.c b/arch/sh/boards/se/7300/setup.c index f1960956bad0..eb469f5b6e97 100644 --- a/arch/sh/boards/se/7300/setup.c +++ b/arch/sh/boards/se/7300/setup.c | |||
@@ -46,7 +46,7 @@ __initcall(se7300_devices_setup); | |||
46 | /* | 46 | /* |
47 | * The Machine Vector | 47 | * The Machine Vector |
48 | */ | 48 | */ |
49 | struct sh_machine_vector mv_7300se __initmv = { | 49 | static struct sh_machine_vector mv_7300se __initmv = { |
50 | .mv_name = "SolutionEngine 7300", | 50 | .mv_name = "SolutionEngine 7300", |
51 | .mv_nr_irqs = 109, | 51 | .mv_nr_irqs = 109, |
52 | .mv_inb = sh7300se_inb, | 52 | .mv_inb = sh7300se_inb, |
@@ -72,4 +72,3 @@ struct sh_machine_vector mv_7300se __initmv = { | |||
72 | 72 | ||
73 | .mv_init_irq = init_7300se_IRQ, | 73 | .mv_init_irq = init_7300se_IRQ, |
74 | }; | 74 | }; |
75 | ALIAS_MV(7300se) | ||