From 7639a4541f7e7abb1295ff8ab39cc2f5842239ae Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Mon, 20 Oct 2008 13:02:48 +0900 Subject: sh: Migrate common board headers to mach-common/. Signed-off-by: Paul Mundt --- arch/sh/Makefile | 3 + arch/sh/boards/board-magicpanelr2.c | 2 +- arch/sh/boards/board-sh7785lcr.c | 2 +- arch/sh/boards/board-shmin.c | 2 +- arch/sh/boards/mach-edosk7705/io.c | 2 +- arch/sh/boards/mach-edosk7705/setup.c | 2 +- arch/sh/boards/mach-highlander/irq-r7780mp.c | 2 +- arch/sh/boards/mach-highlander/irq-r7780rp.c | 2 +- arch/sh/boards/mach-highlander/irq-r7785rp.c | 2 +- arch/sh/boards/mach-highlander/psw.c | 2 +- arch/sh/boards/mach-highlander/setup.c | 2 +- arch/sh/boards/mach-hp6xx/hp6xx_apm.c | 2 +- arch/sh/boards/mach-hp6xx/pm.c | 2 +- arch/sh/boards/mach-hp6xx/setup.c | 2 +- arch/sh/boards/mach-lboxre2/irq.c | 2 +- arch/sh/boards/mach-lboxre2/setup.c | 2 +- arch/sh/boards/mach-microdev/io.c | 2 +- arch/sh/boards/mach-microdev/irq.c | 2 +- arch/sh/boards/mach-microdev/setup.c | 2 +- arch/sh/boards/mach-migor/lcd_qvga.c | 2 +- arch/sh/boards/mach-migor/setup.c | 2 +- arch/sh/boards/mach-r2d/irq.c | 2 +- arch/sh/boards/mach-r2d/setup.c | 2 +- arch/sh/boards/mach-sdk7780/irq.c | 2 +- arch/sh/boards/mach-sdk7780/setup.c | 2 +- arch/sh/boards/mach-sh7763rdp/irq.c | 2 +- arch/sh/boards/mach-sh7763rdp/setup.c | 2 +- arch/sh/boards/mach-snapgear/setup.c | 2 +- arch/sh/boards/mach-systemh/io.c | 2 +- arch/sh/boards/mach-systemh/irq.c | 2 +- arch/sh/boards/mach-systemh/setup.c | 2 +- arch/sh/boards/mach-titan/io.c | 2 +- arch/sh/boards/mach-titan/setup.c | 2 +- arch/sh/drivers/pci/ops-lboxre2.c | 2 +- arch/sh/drivers/pci/ops-r7780rp.c | 2 +- arch/sh/drivers/pci/ops-rts7751r2d.c | 2 +- arch/sh/drivers/pci/ops-sdk7780.c | 2 +- arch/sh/drivers/pci/ops-titan.c | 2 +- arch/sh/include/asm/edosk7705.h | 30 ---- arch/sh/include/asm/hp6xx.h | 58 ------- arch/sh/include/asm/lboxre2.h | 27 ---- arch/sh/include/asm/magicpanelr2.h | 67 -------- arch/sh/include/asm/microdev.h | 80 ---------- arch/sh/include/asm/migor.h | 64 -------- arch/sh/include/asm/r7780rp.h | 198 ------------------------ arch/sh/include/asm/rts7751r2d.h | 70 --------- arch/sh/include/asm/sdk7780.h | 81 ---------- arch/sh/include/asm/sh7763rdp.h | 54 ------- arch/sh/include/asm/sh7785lcr.h | 55 ------- arch/sh/include/asm/shmin.h | 9 -- arch/sh/include/asm/snapgear.h | 71 --------- arch/sh/include/asm/systemh7751.h | 71 --------- arch/sh/include/asm/titan.h | 17 -- arch/sh/include/mach-common/mach/edosk7705.h | 30 ++++ arch/sh/include/mach-common/mach/highlander.h | 198 ++++++++++++++++++++++++ arch/sh/include/mach-common/mach/hp6xx.h | 58 +++++++ arch/sh/include/mach-common/mach/lboxre2.h | 27 ++++ arch/sh/include/mach-common/mach/magicpanelr2.h | 67 ++++++++ arch/sh/include/mach-common/mach/microdev.h | 80 ++++++++++ arch/sh/include/mach-common/mach/migor.h | 64 ++++++++ arch/sh/include/mach-common/mach/r2d.h | 70 +++++++++ arch/sh/include/mach-common/mach/sdk7780.h | 81 ++++++++++ arch/sh/include/mach-common/mach/sh7763rdp.h | 54 +++++++ arch/sh/include/mach-common/mach/sh7785lcr.h | 55 +++++++ arch/sh/include/mach-common/mach/shmin.h | 9 ++ arch/sh/include/mach-common/mach/snapgear.h | 71 +++++++++ arch/sh/include/mach-common/mach/systemh7751.h | 71 +++++++++ arch/sh/include/mach-common/mach/titan.h | 17 ++ 68 files changed, 992 insertions(+), 989 deletions(-) delete mode 100644 arch/sh/include/asm/edosk7705.h delete mode 100644 arch/sh/include/asm/hp6xx.h delete mode 100644 arch/sh/include/asm/lboxre2.h delete mode 100644 arch/sh/include/asm/magicpanelr2.h delete mode 100644 arch/sh/include/asm/microdev.h delete mode 100644 arch/sh/include/asm/migor.h delete mode 100644 arch/sh/include/asm/r7780rp.h delete mode 100644 arch/sh/include/asm/rts7751r2d.h delete mode 100644 arch/sh/include/asm/sdk7780.h delete mode 100644 arch/sh/include/asm/sh7763rdp.h delete mode 100644 arch/sh/include/asm/sh7785lcr.h delete mode 100644 arch/sh/include/asm/shmin.h delete mode 100644 arch/sh/include/asm/snapgear.h delete mode 100644 arch/sh/include/asm/systemh7751.h delete mode 100644 arch/sh/include/asm/titan.h create mode 100644 arch/sh/include/mach-common/mach/edosk7705.h create mode 100644 arch/sh/include/mach-common/mach/highlander.h create mode 100644 arch/sh/include/mach-common/mach/hp6xx.h create mode 100644 arch/sh/include/mach-common/mach/lboxre2.h create mode 100644 arch/sh/include/mach-common/mach/magicpanelr2.h create mode 100644 arch/sh/include/mach-common/mach/microdev.h create mode 100644 arch/sh/include/mach-common/mach/migor.h create mode 100644 arch/sh/include/mach-common/mach/r2d.h create mode 100644 arch/sh/include/mach-common/mach/sdk7780.h create mode 100644 arch/sh/include/mach-common/mach/sh7763rdp.h create mode 100644 arch/sh/include/mach-common/mach/sh7785lcr.h create mode 100644 arch/sh/include/mach-common/mach/shmin.h create mode 100644 arch/sh/include/mach-common/mach/snapgear.h create mode 100644 arch/sh/include/mach-common/mach/systemh7751.h create mode 100644 arch/sh/include/mach-common/mach/titan.h (limited to 'arch/sh') diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 0bc956012c38..1f409bf81809 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -125,6 +125,9 @@ core-y += $(addprefix arch/sh/boards/, \ $(filter-out ., $(patsubst %,%/,$(machdir-y)))) endif +# Common machine type headers. Not part of the arch/sh/boards/ hierarchy. +machdir-y += mach-common + # Companion chips core-$(CONFIG_HD6446X_SERIES) += arch/sh/cchips/hd6446x/ diff --git a/arch/sh/boards/board-magicpanelr2.c b/arch/sh/boards/board-magicpanelr2.c index da6bff83a6ea..3de22ccdeb7e 100644 --- a/arch/sh/boards/board-magicpanelr2.c +++ b/arch/sh/boards/board-magicpanelr2.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include diff --git a/arch/sh/boards/board-sh7785lcr.c b/arch/sh/boards/board-sh7785lcr.c index b95d674ee704..408bbddaf325 100644 --- a/arch/sh/boards/board-sh7785lcr.c +++ b/arch/sh/boards/board-sh7785lcr.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include /* * NOTE: This board has 2 physical memory maps. diff --git a/arch/sh/boards/board-shmin.c b/arch/sh/boards/board-shmin.c index 16e5dae8ecfb..5cc0867de5ab 100644 --- a/arch/sh/boards/board-shmin.c +++ b/arch/sh/boards/board-shmin.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include diff --git a/arch/sh/boards/mach-edosk7705/io.c b/arch/sh/boards/mach-edosk7705/io.c index 541cea2a652f..7d153e50a01b 100644 --- a/arch/sh/boards/mach-edosk7705/io.c +++ b/arch/sh/boards/mach-edosk7705/io.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #define SMC_IOADDR 0xA2000000 diff --git a/arch/sh/boards/mach-edosk7705/setup.c b/arch/sh/boards/mach-edosk7705/setup.c index f076c45308dd..ab3f47bffdf3 100644 --- a/arch/sh/boards/mach-edosk7705/setup.c +++ b/arch/sh/boards/mach-edosk7705/setup.c @@ -10,7 +10,7 @@ */ #include #include -#include +#include static void __init sh_edosk7705_init_irq(void) { diff --git a/arch/sh/boards/mach-highlander/irq-r7780mp.c b/arch/sh/boards/mach-highlander/irq-r7780mp.c index ae1cfcb29700..83c28bcd4d2a 100644 --- a/arch/sh/boards/mach-highlander/irq-r7780mp.c +++ b/arch/sh/boards/mach-highlander/irq-r7780mp.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include enum { UNUSED = 0, diff --git a/arch/sh/boards/mach-highlander/irq-r7780rp.c b/arch/sh/boards/mach-highlander/irq-r7780rp.c index 9d3921fe27c0..b721e86b5af4 100644 --- a/arch/sh/boards/mach-highlander/irq-r7780rp.c +++ b/arch/sh/boards/mach-highlander/irq-r7780rp.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include enum { UNUSED = 0, diff --git a/arch/sh/boards/mach-highlander/irq-r7785rp.c b/arch/sh/boards/mach-highlander/irq-r7785rp.c index 896c045aa39d..3811b060a39b 100644 --- a/arch/sh/boards/mach-highlander/irq-r7785rp.c +++ b/arch/sh/boards/mach-highlander/irq-r7785rp.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include enum { UNUSED = 0, diff --git a/arch/sh/boards/mach-highlander/psw.c b/arch/sh/boards/mach-highlander/psw.c index be8d5477fc65..37b1a2ee71a5 100644 --- a/arch/sh/boards/mach-highlander/psw.c +++ b/arch/sh/boards/mach-highlander/psw.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include static irqreturn_t psw_irq_handler(int irq, void *arg) diff --git a/arch/sh/boards/mach-highlander/setup.c b/arch/sh/boards/mach-highlander/setup.c index bc79afb6fc4c..c5a40f7906d7 100644 --- a/arch/sh/boards/mach-highlander/setup.c +++ b/arch/sh/boards/mach-highlander/setup.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/arch/sh/boards/mach-hp6xx/hp6xx_apm.c b/arch/sh/boards/mach-hp6xx/hp6xx_apm.c index 177f4f028e0d..e85212faf40a 100644 --- a/arch/sh/boards/mach-hp6xx/hp6xx_apm.c +++ b/arch/sh/boards/mach-hp6xx/hp6xx_apm.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include /* percentage values */ #define APM_CRITICAL 10 diff --git a/arch/sh/boards/mach-hp6xx/pm.c b/arch/sh/boards/mach-hp6xx/pm.c index e96684def788..64af1f2eef05 100644 --- a/arch/sh/boards/mach-hp6xx/pm.c +++ b/arch/sh/boards/mach-hp6xx/pm.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include diff --git a/arch/sh/boards/mach-hp6xx/setup.c b/arch/sh/boards/mach-hp6xx/setup.c index 475b46caec1f..48fece78ff54 100644 --- a/arch/sh/boards/mach-hp6xx/setup.c +++ b/arch/sh/boards/mach-hp6xx/setup.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #define SCPCR 0xa4000116 diff --git a/arch/sh/boards/mach-lboxre2/irq.c b/arch/sh/boards/mach-lboxre2/irq.c index 5a1c3bbe7b50..8aa171ab833e 100644 --- a/arch/sh/boards/mach-lboxre2/irq.c +++ b/arch/sh/boards/mach-lboxre2/irq.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include /* * Initialize IRQ setting diff --git a/arch/sh/boards/mach-lboxre2/setup.c b/arch/sh/boards/mach-lboxre2/setup.c index c74440d38ee9..2b0b5818e1e4 100644 --- a/arch/sh/boards/mach-lboxre2/setup.c +++ b/arch/sh/boards/mach-lboxre2/setup.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include static struct resource cf_ide_resources[] = { diff --git a/arch/sh/boards/mach-microdev/io.c b/arch/sh/boards/mach-microdev/io.c index 9f8a540f7e14..52dd748211c7 100644 --- a/arch/sh/boards/mach-microdev/io.c +++ b/arch/sh/boards/mach-microdev/io.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include /* * we need to have a 'safe' address to re-direct all I/O requests diff --git a/arch/sh/boards/mach-microdev/irq.c b/arch/sh/boards/mach-microdev/irq.c index 4d335077a3ff..702753cbd28f 100644 --- a/arch/sh/boards/mach-microdev/irq.c +++ b/arch/sh/boards/mach-microdev/irq.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #define NUM_EXTERNAL_IRQS 16 /* IRL0 .. IRL15 */ diff --git a/arch/sh/boards/mach-microdev/setup.c b/arch/sh/boards/mach-microdev/setup.c index fc8cd06d66cf..a9202fe3cb59 100644 --- a/arch/sh/boards/mach-microdev/setup.c +++ b/arch/sh/boards/mach-microdev/setup.c @@ -14,7 +14,7 @@ #include #include #include