sh: mach-edosk7705: Kill off machtype, consolidate board def.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 29 Oct 2010 10:38:19 +0000 (19:38 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 29 Oct 2010 10:38:19 +0000 (19:38 +0900)
Trivial shuffling and tidying.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile
arch/sh/boards/Makefile
arch/sh/boards/board-edosk7705.c [moved from arch/sh/boards/mach-edosk7705/setup.c with 98% similarity]
arch/sh/boards/mach-edosk7705/Makefile [deleted file]
arch/sh/include/mach-common/mach/edosk7705.h [deleted file]

index 922ff35..9c8c6e1 100644 (file)
@@ -134,7 +134,6 @@ machdir-$(CONFIG_SH_HP6XX)                  += mach-hp6xx
 machdir-$(CONFIG_SH_DREAMCAST)                 += mach-dreamcast
 machdir-$(CONFIG_SH_SH03)                      += mach-sh03
 machdir-$(CONFIG_SH_RTS7751R2D)                        += mach-r2d
-machdir-$(CONFIG_SH_EDOSK7705)                 += mach-edosk7705
 machdir-$(CONFIG_SH_HIGHLANDER)                        += mach-highlander
 machdir-$(CONFIG_SH_MIGOR)                     += mach-migor
 machdir-$(CONFIG_SH_AP325RXA)                  += mach-ap325rxa
index 4a0ed86..be7d11d 100644 (file)
@@ -7,6 +7,7 @@ obj-$(CONFIG_SH_SH2007)         += board-sh2007.o
 obj-$(CONFIG_SH_SH7785LCR)     += board-sh7785lcr.o
 obj-$(CONFIG_SH_URQUELL)       += board-urquell.o
 obj-$(CONFIG_SH_SHMIN)         += board-shmin.o
+obj-$(CONFIG_SH_EDOSK7705)     += board-edosk7705.o
 obj-$(CONFIG_SH_EDOSK7760)     += board-edosk7760.o
 obj-$(CONFIG_SH_ESPT)          += board-espt.o
 obj-$(CONFIG_SH_POLARIS)       += board-polaris.o
similarity index 98%
rename from arch/sh/boards/mach-edosk7705/setup.c
rename to arch/sh/boards/board-edosk7705.c
index 8f93b66..4cb3bb7 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/smc91x.h>
-#include <mach/edosk7705.h>
 #include <asm/machvec.h>
 #include <asm/sizes.h>
 
diff --git a/arch/sh/boards/mach-edosk7705/Makefile b/arch/sh/boards/mach-edosk7705/Makefile
deleted file mode 100644 (file)
index 0cf5715..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# Makefile for the EDOSK7705 specific parts of the kernel
-#
-
-obj-y   := setup.o
diff --git a/arch/sh/include/mach-common/mach/edosk7705.h b/arch/sh/include/mach-common/mach/edosk7705.h
deleted file mode 100644 (file)
index efc43b3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __ASM_SH_EDOSK7705_H
-#define __ASM_SH_EDOSK7705_H
-
-#define __IO_PREFIX sh_edosk7705
-#include <asm/io_generic.h>
-
-#endif /* __ASM_SH_EDOSK7705_H */