aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/hp6xx/mach.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-15 02:19:34 -0400
committerPaul Mundt <lethal@hera.kernel.org>2007-06-07 22:43:39 -0400
commit82f81f4784479df17a80caff4a7156da0a2f7dea (patch)
tree3679bd23f2c9daa24f9cf3e170a33f851ed45029 /arch/sh/boards/hp6xx/mach.c
parent25f8151bdcdd62c6b879e3669a562c0d329eee4a (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/hp6xx/mach.c')
-rw-r--r--arch/sh/boards/hp6xx/mach.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sh/boards/hp6xx/mach.c b/arch/sh/boards/hp6xx/mach.c
index 08dbba910f74..35b895960474 100644
--- a/arch/sh/boards/hp6xx/mach.c
+++ b/arch/sh/boards/hp6xx/mach.c
@@ -13,7 +13,7 @@
13#include <asm/io.h> 13#include <asm/io.h>
14#include <asm/irq.h> 14#include <asm/irq.h>
15 15
16struct sh_machine_vector mv_hp6xx __initmv = { 16static struct sh_machine_vector mv_hp6xx __initmv = {
17 .mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM, 17 .mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM,
18 18
19 .mv_inb = hd64461_inb, 19 .mv_inb = hd64461_inb,
@@ -42,5 +42,3 @@ struct sh_machine_vector mv_hp6xx __initmv = {
42 42
43 .mv_irq_demux = hd64461_irq_demux, 43 .mv_irq_demux = hd64461_irq_demux,
44}; 44};
45
46ALIAS_MV(hp6xx)