]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Migrate common board headers to mach-common/.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 04:02:48 +0000 (13:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Oct 2008 04:02:48 +0000 (13:02 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
58 files changed:
arch/sh/Makefile
arch/sh/boards/board-magicpanelr2.c
arch/sh/boards/board-sh7785lcr.c
arch/sh/boards/board-shmin.c
arch/sh/boards/mach-edosk7705/io.c
arch/sh/boards/mach-edosk7705/setup.c
arch/sh/boards/mach-highlander/irq-r7780mp.c
arch/sh/boards/mach-highlander/irq-r7780rp.c
arch/sh/boards/mach-highlander/irq-r7785rp.c
arch/sh/boards/mach-highlander/psw.c
arch/sh/boards/mach-highlander/setup.c
arch/sh/boards/mach-hp6xx/hp6xx_apm.c
arch/sh/boards/mach-hp6xx/pm.c
arch/sh/boards/mach-hp6xx/setup.c
arch/sh/boards/mach-lboxre2/irq.c
arch/sh/boards/mach-lboxre2/setup.c
arch/sh/boards/mach-microdev/io.c
arch/sh/boards/mach-microdev/irq.c
arch/sh/boards/mach-microdev/setup.c
arch/sh/boards/mach-migor/lcd_qvga.c
arch/sh/boards/mach-migor/setup.c
arch/sh/boards/mach-r2d/irq.c
arch/sh/boards/mach-r2d/setup.c
arch/sh/boards/mach-sdk7780/irq.c
arch/sh/boards/mach-sdk7780/setup.c
arch/sh/boards/mach-sh7763rdp/irq.c
arch/sh/boards/mach-sh7763rdp/setup.c
arch/sh/boards/mach-snapgear/setup.c
arch/sh/boards/mach-systemh/io.c
arch/sh/boards/mach-systemh/irq.c
arch/sh/boards/mach-systemh/setup.c
arch/sh/boards/mach-titan/io.c
arch/sh/boards/mach-titan/setup.c
arch/sh/drivers/pci/ops-lboxre2.c
arch/sh/drivers/pci/ops-r7780rp.c
arch/sh/drivers/pci/ops-rts7751r2d.c
arch/sh/drivers/pci/ops-sdk7780.c
arch/sh/drivers/pci/ops-titan.c
arch/sh/include/mach-common/mach/edosk7705.h [moved from arch/sh/include/asm/edosk7705.h with 100% similarity]
arch/sh/include/mach-common/mach/highlander.h [moved from arch/sh/include/asm/r7780rp.h with 100% similarity]
arch/sh/include/mach-common/mach/hp6xx.h [moved from arch/sh/include/asm/hp6xx.h with 100% similarity]
arch/sh/include/mach-common/mach/lboxre2.h [moved from arch/sh/include/asm/lboxre2.h with 100% similarity]
arch/sh/include/mach-common/mach/magicpanelr2.h [moved from arch/sh/include/asm/magicpanelr2.h with 100% similarity]
arch/sh/include/mach-common/mach/microdev.h [moved from arch/sh/include/asm/microdev.h with 100% similarity]
arch/sh/include/mach-common/mach/migor.h [moved from arch/sh/include/asm/migor.h with 100% similarity]
arch/sh/include/mach-common/mach/r2d.h [moved from arch/sh/include/asm/rts7751r2d.h with 100% similarity]
arch/sh/include/mach-common/mach/sdk7780.h [moved from arch/sh/include/asm/sdk7780.h with 100% similarity]
arch/sh/include/mach-common/mach/sh7763rdp.h [moved from arch/sh/include/asm/sh7763rdp.h with 100% similarity]
arch/sh/include/mach-common/mach/sh7785lcr.h [moved from arch/sh/include/asm/sh7785lcr.h with 100% similarity]
arch/sh/include/mach-common/mach/shmin.h [moved from arch/sh/include/asm/shmin.h with 100% similarity]
arch/sh/include/mach-common/mach/snapgear.h [moved from arch/sh/include/asm/snapgear.h with 100% similarity]
arch/sh/include/mach-common/mach/systemh7751.h [moved from arch/sh/include/asm/systemh7751.h with 100% similarity]
arch/sh/include/mach-common/mach/titan.h [moved from arch/sh/include/asm/titan.h with 100% similarity]
drivers/input/touchscreen/hp680_ts_input.c
drivers/leds/leds-hp6xx.c
drivers/rtc/rtc-ds1302.c
drivers/video/backlight/hp680_bl.c
sound/oss/sh_dac_audio.c

index 0bc956012c38ee207dd1af1f65c449870303d8b5..1f409bf81809b12af3300b0b3c4f49b2f94d2a34 100644 (file)
@@ -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/
 
index da6bff83a6eaa8c521838f5381fe3bef18d63e69..3de22ccdeb7efebefcd42de79350b583b54ce1ff 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/physmap.h>
 #include <linux/mtd/map.h>
-#include <asm/magicpanelr2.h>
+#include <mach/magicpanelr2.h>
 #include <asm/heartbeat.h>
 #include <cpu/sh7720.h>
 
index b95d674ee704426b380adce271820ccae675a63e..408bbddaf3258b02f544fe10405acea2946cfee1 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/i2c-pca-platform.h>
 #include <linux/i2c-algo-pca.h>
 #include <asm/heartbeat.h>
-#include <asm/sh7785lcr.h>
+#include <mach/sh7785lcr.h>
 
 /*
  * NOTE: This board has 2 physical memory maps.
index 16e5dae8ecfb409702deff42cab3149d04c75898..5cc0867de5ab88809d37cb8f1e36dda5f0e580b3 100644 (file)
@@ -8,7 +8,7 @@
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <asm/machvec.h>
-#include <asm/shmin.h>
+#include <mach/shmin.h>
 #include <asm/clock.h>
 #include <asm/io.h>
 
index 541cea2a652f3434d6c9f603f70d160ebab84ae3..7d153e50a01b73df05466c71d6825308333b4679 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <asm/io.h>
-#include <asm/edosk7705/io.h>
+#include <mach/edosk7705.h>
 #include <asm/addrspace.h>
 
 #define SMC_IOADDR     0xA2000000
index f076c45308ddab2f3178e9a1680ff8f629517132..ab3f47bffdf3ea2f644391f25cd8870d2a8d489b 100644 (file)
@@ -10,7 +10,7 @@
  */
 #include <linux/init.h>
 #include <asm/machvec.h>
-#include <asm/edosk7705/io.h>
+#include <mach/edosk7705.h>
 
 static void __init sh_edosk7705_init_irq(void)
 {
index ae1cfcb297008f76f8cb003872cf2ba87c6a8aa0..83c28bcd4d2a7de7f9a6f176487d1be987c246c6 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/io.h>
-#include <asm/r7780rp.h>
+#include <mach/highlander.h>
 
 enum {
        UNUSED = 0,
index 9d3921fe27c0b4506322ad5a3a0837c652a63c02..b721e86b5af4b226c59a7d44ef75d121e83254f6 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/io.h>
-#include <asm/r7780rp.h>
+#include <mach/highlander.h>
 
 enum {
        UNUSED = 0,
index 896c045aa39d63ab66ebc4eceed0b38f00911b59..3811b060a39b4f922b62456470eb0bb043d4f6f8 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/io.h>
-#include <asm/r7780rp.h>
+#include <mach/highlander.h>
 
 enum {
        UNUSED = 0,
index be8d5477fc6584799183c1154bcab628a76f27e5..37b1a2ee71a5398685b1579ad3a67170fc94a2e3 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
-#include <asm/r7780rp.h>
+#include <mach/highlander.h>
 #include <asm/push-switch.h>
 
 static irqreturn_t psw_irq_handler(int irq, void *arg)
index bc79afb6fc4c04c7c13335b9ae03e4938ec51939..c5a40f7906d789b453ff9e8a4e1fc2961b345fc8 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/i2c.h>
 #include <net/ax88796.h>
 #include <asm/machvec.h>
-#include <asm/r7780rp.h>
+#include <mach/highlander.h>
 #include <asm/clock.h>
 #include <asm/heartbeat.h>
 #include <asm/io.h>
index 177f4f028e0dd5769d6d530290b6b6fec9097318..e85212faf40a8c1bfea2635e1de6dee710f1ce0c 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/apm-emulation.h>
 #include <linux/io.h>
 #include <asm/adc.h>
-#include <asm/hp6xx.h>
+#include <mach/hp6xx.h>
 
 /* percentage values */
 #define APM_CRITICAL                   10
index e96684def788c064cbe1a036e5f0eea71d99bf1f..64af1f2eef05707b3925ab9ccd6ed3e1ec0ef420 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/time.h>
 #include <asm/io.h>
 #include <asm/hd64461.h>
-#include <asm/hp6xx.h>
+#include <mach/hp6xx.h>
 #include <cpu/dac.h>
 #include <asm/pm.h>
 
index 475b46caec1fed133119d10cab1b99198f315806..48fece78ff54da2ca07eaab00c75330757794455 100644 (file)
@@ -15,7 +15,7 @@
 #include <asm/hd64461.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/hp6xx.h>
+#include <mach/hp6xx.h>
 #include <cpu/dac.h>
 
 #define        SCPCR   0xa4000116
index 5a1c3bbe7b50c3542e86665ab50cf264d9e8f531..8aa171ab833e4c05734fbef453afe2fb78f9ab75 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/irq.h>
 #include <asm/irq.h>
 #include <asm/io.h>
-#include <asm/lboxre2.h>
+#include <mach/lboxre2.h>
 
 /*
  * Initialize IRQ setting
index c74440d38ee974aa40482ed5a2af56334f25e9a1..2b0b5818e1e477d23ea6a95529a560b736a73e25 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/ata_platform.h>
 #include <asm/machvec.h>
 #include <asm/addrspace.h>
-#include <asm/lboxre2.h>
+#include <mach/lboxre2.h>
 #include <asm/io.h>
 
 static struct resource cf_ide_resources[] = {
index 9f8a540f7e141d0ee61f9094c7d9436fc1135b1c..52dd748211c769607f99834913261340eba3f143 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/pci.h>
 #include <linux/wait.h>
 #include <asm/io.h>
-#include <asm/microdev.h>
+#include <mach/microdev.h>
 
        /*
         *      we need to have a 'safe' address to re-direct all I/O requests
index 4d335077a3ffc8c590594f6065ece5573be91d31..702753cbd28f2b418027839b0d20e83e0b21e1fe 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/interrupt.h>
 #include <asm/system.h>
 #include <asm/io.h>
-#include <asm/microdev.h>
+#include <mach/microdev.h>
 
 #define NUM_EXTERNAL_IRQS 16   /* IRL0 .. IRL15 */
 
index fc8cd06d66cf287a29cd65505bb685a21ef35eab..a9202fe3cb590b2139ecdc878e6a00b52446b70a 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/platform_device.h>
 #include <linux/ioport.h>
 #include <video/s1d13xxxfb.h>
-#include <asm/microdev.h>
+#include <mach/microdev.h>
 #include <asm/io.h>
 #include <asm/machvec.h>
 
index 71a40710a5aaa1041a0d6f3b881ac92b3d33fd5a..de9014a8a93ed3fffa961582f6bbfe960d33803a 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/gpio.h>
 #include <video/sh_mobile_lcdc.h>
 #include <cpu/sh7722.h>
-#include <asm/migor.h>
+#include <mach/migor.h>
 
 /* LCD Module is a PH240320T according to board schematics. This module
  * is made up of a 240x320 LCD hooked up to a R61505U (or HX8347-A01?)
index d00cce04d6e3848ec09822bdaac5765c78b11574..769d630434248ff5a92acc40c4210cfb22dae042 100644 (file)
@@ -25,7 +25,7 @@
 #include <asm/machvec.h>
 #include <asm/io.h>
 #include <asm/sh_keysc.h>
-#include <asm/migor.h>
+#include <mach/migor.h>
 #include <cpu/sh7722.h>
 
 /* Address     IRQ  Size  Bus  Description
index 8e49f6e51247b199eb74a96746b44c2b6e464364..c70fecedcac424625d32232378616b4a606be4ba 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/irq.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
-#include <asm/rts7751r2d.h>
+#include <mach/r2d.h>
 
 #define R2D_NR_IRL 13
 
index 2308e8753bcdee2bcb66f49ab2bfecd207a5b9e1..c585be00956ea9a8d541656081ac80a2f86ae3f4 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/spi/spi.h>
 #include <linux/spi/spi_bitbang.h>
 #include <asm/machvec.h>
-#include <asm/rts7751r2d.h>
+#include <mach/r2d.h>
 #include <asm/io.h>
 #include <asm/io_trapped.h>
 #include <asm/spi.h>
index 87cdc578f6fff983967c0d84bf61c7e2759ce0de..855558163c58686c62c4830be9b4bbe6d3b485bd 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/io.h>
-#include <asm/sdk7780.h>
+#include <mach/sdk7780.h>
 
 enum {
        UNUSED = 0,
index acc5932587f11ad994793d1f5d6941b2aa8bcdc3..aad94a78dc702a3c98b3673d0d99f9596cc48dc0 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/platform_device.h>
 #include <linux/ata_platform.h>
 #include <asm/machvec.h>
-#include <asm/sdk7780.h>
+#include <mach/sdk7780.h>
 #include <asm/heartbeat.h>
 #include <asm/io.h>
 #include <asm/addrspace.h>
index fd850bad2decd17407819c4b645e7fc766e7c968..d8ebfa7d8c7616de1a66a0999ad1da7f18276a32 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/irq.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/sh7763rdp.h>
+#include <mach/sh7763rdp.h>
 
 #define INTC_BASE              (0xFFD00000)
 #define INTC_INT2PRI7   (INTC_BASE+0x4001C)
index 23850da05e3c8a6d53ce30b95dc89df59f7ebea3..6f926fd2162b20380034add765471f2f72b7f2b0 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/mtd/physmap.h>
 #include <linux/fb.h>
 #include <linux/io.h>
-#include <asm/sh7763rdp.h>
+#include <mach/sh7763rdp.h>
 #include <asm/sh_eth.h>
 #include <asm/sh7760fb.h>
 
index a5e349d3dda20b37057ab16cd781e9fe3a73f3a3..a3277a23cf14a2904dc22dbe8fd88ee84212c1d2 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <asm/machvec.h>
-#include <asm/snapgear.h>
+#include <mach/snapgear.h>
 #include <asm/irq.h>
 #include <asm/io.h>
 #include <cpu/timer.h>
index 1b767e1a142859d50999f341f30c36f24fd4bf54..dec3db0ee933ba61a11d0438f64c81201d3edd0b 100644 (file)
@@ -9,7 +9,7 @@
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/pci.h>
-#include <asm/systemh7751.h>
+#include <mach/systemh7751.h>
 #include <asm/addrspace.h>
 #include <asm/io.h>
 
index 601c9c8cdbec0af1c0757349f466701a685c71e3..538406872a8923dce7aa0b4d98d8888aba9ee168 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/interrupt.h>
 
 #include <asm/io.h>
-#include <asm/systemh7751.h>
+#include <mach/systemh7751.h>
 #include <asm/smc37c93x.h>
 
 /* address of external interrupt mask register
index ee78af842778e80dc6a89fab923b71aa8ba09efc..219fd800a43fb7b30e8d73c443485b13e5c04ab7 100644 (file)
@@ -16,7 +16,7 @@
  */
 #include <linux/init.h>
 #include <asm/machvec.h>
-#include <asm/systemh7751.h>
+#include <mach/systemh7751.h>
 
 extern void make_systemh_irq(unsigned int irq);
 
index 4730c1dd697d37c8218239fe79657cd970fbad06..4badad4c6f30329036768e76c0bfa148c1ec0034 100644 (file)
@@ -4,7 +4,7 @@
 #include <linux/pci.h>
 #include <asm/machvec.h>
 #include <asm/addrspace.h>
-#include <asm/titan.h>
+#include <mach/titan.h>
 #include <asm/io.h>
 
 static inline unsigned int port2adr(unsigned int port)
index 5de3b2ad71af86fc4d2e6dbe956e373ca0d05a22..81e7e0f03863d510f9144d9c99f3eff1ed0fe938 100644 (file)
@@ -9,7 +9,7 @@
  */
 #include <linux/init.h>
 #include <linux/irq.h>
-#include <asm/titan.h>
+#include <mach/titan.h>
 #include <asm/io.h>
 
 static void __init init_titan_irq(void)
index a13cb764b0b9892da9baba122e60844db4b8d776..86c0b6fb7375a3a794acf613407768c684bda699 100644 (file)
@@ -10,7 +10,7 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 #include <linux/io.h>
-#include <asm/lboxre2.h>
+#include <mach/lboxre2.h>
 #include "pci-sh4.h"
 
 static char lboxre2_irq_tab[] __initdata = {
index 5fdadaeed6fcc0427746ac428a7908c9e26d4470..8555238e63eb832ab797de3ff07bad4b57089363 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/pci.h>
-#include <asm/r7780rp.h>
+#include <mach/highlander.h>
 #include <asm/io.h>
 #include "pci-sh4.h"
 
index b3fa3e2ef184ffd24b2a3afb604254e3c03634ee..d6ca74b25d5f45e3eed5cd8fe8acb08030cc837d 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 #include <linux/io.h>
-#include <asm/rts7751r2d.h>
+#include <mach/r2d.h>
 #include "pci-sh4.h"
 
 static u8 rts7751r2d_irq_tab[] __initdata = {
index 66a9b4047f2669ca41e2f4a8d41d84af9898d829..4dcc64184b235e198a5c08c08a72c92cb52dff2f 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/pci.h>
-#include <asm/sdk7780.h>
+#include <mach/sdk7780.h>
 #include <asm/io.h>
 #include "pci-sh4.h"
 
index ac8ee2312cd8935b3f8e53e0ef07d0592d866edd..a8f7801a34afb038451daf47e2c5cc717aa592d6 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 #include <linux/io.h>
-#include <asm/titan.h>
+#include <mach/titan.h>
 #include "pci-sh4.h"
 
 static char titan_irq_tab[] __initdata = {
index c38d4e0f95c6a093e7bf009fcb662160b97a3a8e..a89700e7ace42138e10a6a47e085a4b90a6f9c15 100644 (file)
@@ -5,7 +5,7 @@
 #include <asm/io.h>
 #include <asm/delay.h>
 #include <asm/adc.h>
-#include <asm/hp6xx.h>
+#include <mach/hp6xx.h>
 
 #define MODNAME "hp680_ts_input"
 
index 844d5979c9045bfa6126eb8b4828706ac9f68655..e8fb1baf8a5072e3d3454b3366e32d1c2c015140 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/platform_device.h>
 #include <linux/leds.h>
 #include <asm/hd64461.h>
-#include <asm/hp6xx.h>
+#include <mach/hp6xx.h>
 
 static void hp6xxled_green_set(struct led_classdev *led_cdev,
                               enum led_brightness value)
index b9397818f73a6fd22b118a5643fd768a15b4d5ee..8f4e96bb229a06f4d073a96fa4033dcf4ff8899e 100644 (file)
@@ -40,7 +40,7 @@
 #define        RTC_SCLK        0x0400
 
 #ifdef CONFIG_SH_SECUREEDGE5410
-#include <asm/snapgear.h>
+#include <mach/snapgear.h>
 #define set_dp(x)      SECUREEDGE_WRITE_IOPORT(x, 0x1c00)
 #define get_dp()       SECUREEDGE_READ_IOPORT()
 #else
index 6fa0b9d5559ac712c033eb0508fd21ca9a4dc08e..d4cfed0b26d5f8a83242c73769ca650805a521a5 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/backlight.h>
 
 #include <cpu/dac.h>
-#include <asm/hp6xx.h>
+#include <mach/hp6xx.h>
 #include <asm/hd64461.h>
 
 #define HP680_MAX_INTENSITY 255
index b493660deb36b503b39a509861ebf54b2eb8254b..e5d4239949182fd5649456e524436a7fb515e39e 100644 (file)
@@ -26,7 +26,7 @@
 #include <asm/cpu/dac.h>
 #include <asm/cpu/timer.h>
 #include <asm/machvec.h>
-#include <asm/hp6xx.h>
+#include <mach/hp6xx.h>
 #include <asm/hd64461.h>
 
 #define MODNAME "sh_dac_audio"