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/mpc1211/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/mpc1211/setup.c')
-rw-r--r-- | arch/sh/boards/mpc1211/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/boards/mpc1211/setup.c b/arch/sh/boards/mpc1211/setup.c index 1a0604b23ce0..8ce03e00b0ae 100644 --- a/arch/sh/boards/mpc1211/setup.c +++ b/arch/sh/boards/mpc1211/setup.c | |||
@@ -338,11 +338,10 @@ static void __init mpc1211_setup(char **cmdline_p) | |||
338 | /* | 338 | /* |
339 | * The Machine Vector | 339 | * The Machine Vector |
340 | */ | 340 | */ |
341 | struct sh_machine_vector mv_mpc1211 __initmv = { | 341 | static struct sh_machine_vector mv_mpc1211 __initmv = { |
342 | .mv_name = "Interface MPC-1211(CTP/PCI/MPC-SH02)", | 342 | .mv_name = "Interface MPC-1211(CTP/PCI/MPC-SH02)", |
343 | .mv_setup = mpc1211_setup, | 343 | .mv_setup = mpc1211_setup, |
344 | .mv_nr_irqs = 48, | 344 | .mv_nr_irqs = 48, |
345 | .mv_irq_demux = mpc1211_irq_demux, | 345 | .mv_irq_demux = mpc1211_irq_demux, |
346 | .mv_init_irq = init_mpc1211_IRQ, | 346 | .mv_init_irq = init_mpc1211_IRQ, |
347 | }; | 347 | }; |
348 | ALIAS_MV(mpc1211) | ||