aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/boards/saturn/setup.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-15 15:19:34 +0900
committerPaul Mundt <lethal@hera.kernel.org>2007-06-08 02:43:39 +0000
commit82f81f4784479df17a80caff4a7156da0a2f7dea (patch)
tree3679bd23f2c9daa24f9cf3e170a33f851ed45029 /arch/sh/boards/saturn/setup.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/saturn/setup.c')
-rw-r--r--arch/sh/boards/saturn/setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/boards/saturn/setup.c b/arch/sh/boards/saturn/setup.c
index a3a37c9aad2..7df4312fbb1 100644
--- a/arch/sh/boards/saturn/setup.c
+++ b/arch/sh/boards/saturn/setup.c
@@ -18,7 +18,7 @@ extern int saturn_irq_demux(int irq_nr);
/*
* The Machine Vector
*/
-struct sh_machine_vector mv_saturn __initmv = {
+static struct sh_machine_vector mv_saturn __initmv = {
.mv_name = "Sega Saturn",
.mv_nr_irqs = 80, /* Fix this later */
@@ -28,4 +28,3 @@ struct sh_machine_vector mv_saturn __initmv = {
.mv_ioremap = saturn_ioremap,
.mv_iounmap = saturn_iounmap,
};
-ALIAS_MV(saturn)