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>
This commit is contained in:
@@ -98,10 +98,9 @@ static void __init hp6xx_setup(char **cmdline_p)
|
||||
}
|
||||
device_initcall(hp6xx_devices_setup);
|
||||
|
||||
struct sh_machine_vector mv_hp6xx __initmv = {
|
||||
static struct sh_machine_vector mv_hp6xx __initmv = {
|
||||
.mv_name = "hp6xx",
|
||||
.mv_setup = hp6xx_setup,
|
||||
.mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM,
|
||||
.mv_irq_demux = hd64461_irq_demux,
|
||||
};
|
||||
ALIAS_MV(hp6xx)
|
||||
|
Reference in New Issue
Block a user