diff options
author | Tony Lindgren <tony@atomide.com> | 2009-10-20 12:40:47 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-10-20 12:40:47 -0400 |
commit | ce491cf85466c3377228c5a852ea627ec5136956 (patch) | |
tree | 3396aa3dc80ac30de662b59218d3bf788d105996 /arch/arm/mach-omap2 | |
parent | 3eff851b9dc1e84aa0822772e0be9afb0c973585 (diff) |
omap: headers: Move remaining headers from include/mach to include/plat
Move the remaining headers under plat-omap/include/mach
to plat-omap/include/plat. Also search and replace the
files using these headers to include using the right path.
This was done with:
#!/bin/bash
mach_dir_old="arch/arm/plat-omap/include/mach"
plat_dir_new="arch/arm/plat-omap/include/plat"
headers=$(cd $mach_dir_old && ls *.h)
omap_dirs="arch/arm/*omap*/ \
drivers/video/omap \
sound/soc/omap"
other_files="drivers/leds/leds-ams-delta.c \
drivers/mfd/menelaus.c \
drivers/mfd/twl4030-core.c \
drivers/mtd/nand/ams-delta.c"
for header in $headers; do
old="#include <mach\/$header"
new="#include <plat\/$header"
for dir in $omap_dirs; do
find $dir -type f -name \*.[chS] | \
xargs sed -i "s/$old/$new/"
done
find drivers/ -type f -name \*omap*.[chS] | \
xargs sed -i "s/$old/$new/"
for file in $other_files; do
sed -i "s/$old/$new/" $file
done
done
for header in $(ls $mach_dir_old/*.h); do
git mv $header $plat_dir_new/
done
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
62 files changed, 226 insertions, 226 deletions
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index e032a33406a7..db9374bc528b 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -31,12 +31,12 @@ | |||
31 | #include <asm/mach/flash.h> | 31 | #include <asm/mach/flash.h> |
32 | 32 | ||
33 | #include <mach/gpio.h> | 33 | #include <mach/gpio.h> |
34 | #include <mach/mux.h> | 34 | #include <plat/mux.h> |
35 | #include <mach/board.h> | 35 | #include <plat/board.h> |
36 | #include <mach/common.h> | 36 | #include <plat/common.h> |
37 | #include <mach/gpmc.h> | 37 | #include <plat/gpmc.h> |
38 | #include <mach/usb.h> | 38 | #include <plat/usb.h> |
39 | #include <mach/gpmc-smc91x.h> | 39 | #include <plat/gpmc-smc91x.h> |
40 | 40 | ||
41 | #include "mmc-twl4030.h" | 41 | #include "mmc-twl4030.h" |
42 | 42 | ||
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 364ce7e4c7c3..607845b7207f 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -29,17 +29,17 @@ | |||
29 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
30 | #include <asm/mach/map.h> | 30 | #include <asm/mach/map.h> |
31 | 31 | ||
32 | #include <mach/mcspi.h> | 32 | #include <plat/mcspi.h> |
33 | #include <mach/mux.h> | 33 | #include <plat/mux.h> |
34 | #include <mach/board.h> | 34 | #include <plat/board.h> |
35 | #include <mach/usb.h> | 35 | #include <plat/usb.h> |
36 | #include <mach/common.h> | 36 | #include <plat/common.h> |
37 | #include <mach/dma.h> | 37 | #include <plat/dma.h> |
38 | #include <mach/gpmc.h> | 38 | #include <plat/gpmc.h> |
39 | 39 | ||
40 | #include <mach/control.h> | 40 | #include <plat/control.h> |
41 | #include <mach/keypad.h> | 41 | #include <plat/keypad.h> |
42 | #include <mach/gpmc-smc91x.h> | 42 | #include <plat/gpmc-smc91x.h> |
43 | 43 | ||
44 | #include "sdram-qimonda-hyb18m512160af-6.h" | 44 | #include "sdram-qimonda-hyb18m512160af-6.h" |
45 | #include "mmc-twl4030.h" | 45 | #include "mmc-twl4030.h" |
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 763055ef4b54..242bba30b5be 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -23,10 +23,10 @@ | |||
23 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
24 | #include <asm/mach/map.h> | 24 | #include <asm/mach/map.h> |
25 | 25 | ||
26 | #include <mach/board.h> | 26 | #include <plat/board.h> |
27 | #include <mach/common.h> | 27 | #include <plat/common.h> |
28 | #include <mach/control.h> | 28 | #include <plat/control.h> |
29 | #include <mach/timer-gp.h> | 29 | #include <plat/timer-gp.h> |
30 | #include <asm/hardware/gic.h> | 30 | #include <asm/hardware/gic.h> |
31 | 31 | ||
32 | static struct platform_device sdp4430_lcd_device = { | 32 | static struct platform_device sdp4430_lcd_device = { |
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index e8a0e56ce2a0..8a2ce77a02ec 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -33,13 +33,13 @@ | |||
33 | #include <asm/mach/flash.h> | 33 | #include <asm/mach/flash.h> |
34 | 34 | ||
35 | #include <mach/gpio.h> | 35 | #include <mach/gpio.h> |
36 | #include <mach/led.h> | 36 | #include <plat/led.h> |
37 | #include <mach/mux.h> | 37 | #include <plat/mux.h> |
38 | #include <mach/usb.h> | 38 | #include <plat/usb.h> |
39 | #include <mach/board.h> | 39 | #include <plat/board.h> |
40 | #include <mach/common.h> | 40 | #include <plat/common.h> |
41 | #include <mach/gpmc.h> | 41 | #include <plat/gpmc.h> |
42 | #include <mach/control.h> | 42 | #include <plat/control.h> |
43 | 43 | ||
44 | /* LED & Switch macros */ | 44 | /* LED & Switch macros */ |
45 | #define LED0_GPIO13 13 | 45 | #define LED0_GPIO13 13 |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 1a139c097f66..7e6e6ca88be5 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -26,10 +26,10 @@ | |||
26 | #include <asm/mach/map.h> | 26 | #include <asm/mach/map.h> |
27 | 27 | ||
28 | #include <mach/gpio.h> | 28 | #include <mach/gpio.h> |
29 | #include <mach/mux.h> | 29 | #include <plat/mux.h> |
30 | #include <mach/usb.h> | 30 | #include <plat/usb.h> |
31 | #include <mach/board.h> | 31 | #include <plat/board.h> |
32 | #include <mach/common.h> | 32 | #include <plat/common.h> |
33 | 33 | ||
34 | static struct omap_board_config_kernel generic_config[] = { | 34 | static struct omap_board_config_kernel generic_config[] = { |
35 | }; | 35 | }; |
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 86f78f3d045a..cfb7f1257d20 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -31,16 +31,16 @@ | |||
31 | #include <asm/mach/map.h> | 31 | #include <asm/mach/map.h> |
32 | #include <asm/mach/flash.h> | 32 | #include <asm/mach/flash.h> |
33 | 33 | ||
34 | #include <mach/control.h> | 34 | #include <plat/control.h> |
35 | #include <mach/gpio.h> | 35 | #include <mach/gpio.h> |
36 | #include <mach/mux.h> | 36 | #include <plat/mux.h> |
37 | #include <mach/usb.h> | 37 | #include <plat/usb.h> |
38 | #include <mach/board.h> | 38 | #include <plat/board.h> |
39 | #include <mach/common.h> | 39 | #include <plat/common.h> |
40 | #include <mach/keypad.h> | 40 | #include <plat/keypad.h> |
41 | #include <mach/menelaus.h> | 41 | #include <plat/menelaus.h> |
42 | #include <mach/dma.h> | 42 | #include <plat/dma.h> |
43 | #include <mach/gpmc.h> | 43 | #include <plat/gpmc.h> |
44 | 44 | ||
45 | #define H4_FLASH_CS 0 | 45 | #define H4_FLASH_CS 0 |
46 | #define H4_SMC91X_CS 1 | 46 | #define H4_SMC91X_CS 1 |
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 4ccc01a1e8c8..5c825607543e 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -32,16 +32,16 @@ | |||
32 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
33 | #include <asm/mach/map.h> | 33 | #include <asm/mach/map.h> |
34 | 34 | ||
35 | #include <mach/mcspi.h> | 35 | #include <plat/mcspi.h> |
36 | #include <mach/gpio.h> | 36 | #include <mach/gpio.h> |
37 | #include <mach/board.h> | 37 | #include <plat/board.h> |
38 | #include <mach/common.h> | 38 | #include <plat/common.h> |
39 | #include <mach/gpmc.h> | 39 | #include <plat/gpmc.h> |
40 | 40 | ||
41 | #include <asm/delay.h> | 41 | #include <asm/delay.h> |
42 | #include <mach/control.h> | 42 | #include <plat/control.h> |
43 | #include <mach/usb.h> | 43 | #include <plat/usb.h> |
44 | #include <mach/keypad.h> | 44 | #include <plat/keypad.h> |
45 | 45 | ||
46 | #include "mmc-twl4030.h" | 46 | #include "mmc-twl4030.h" |
47 | 47 | ||
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 2f6ccba5bb3b..764ab1ed576d 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -23,12 +23,12 @@ | |||
23 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
24 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
25 | 25 | ||
26 | #include <mach/board.h> | 26 | #include <plat/board.h> |
27 | #include <mach/common.h> | 27 | #include <plat/common.h> |
28 | #include <mach/irqs.h> | 28 | #include <mach/irqs.h> |
29 | #include <mach/mcspi.h> | 29 | #include <plat/mcspi.h> |
30 | #include <mach/onenand.h> | 30 | #include <plat/onenand.h> |
31 | #include <mach/serial.h> | 31 | #include <plat/serial.h> |
32 | 32 | ||
33 | static struct omap2_mcspi_device_config p54spi_mcspi_config = { | 33 | static struct omap2_mcspi_device_config p54spi_mcspi_config = { |
34 | .turbo_mode = 0, | 34 | .turbo_mode = 0, |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 7db803d6c629..71a3528b40ce 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -37,13 +37,13 @@ | |||
37 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
38 | #include <asm/mach/flash.h> | 38 | #include <asm/mach/flash.h> |
39 | 39 | ||
40 | #include <mach/board.h> | 40 | #include <plat/board.h> |
41 | #include <mach/common.h> | 41 | #include <plat/common.h> |
42 | #include <mach/gpmc.h> | 42 | #include <plat/gpmc.h> |
43 | #include <mach/nand.h> | 43 | #include <plat/nand.h> |
44 | #include <mach/mux.h> | 44 | #include <plat/mux.h> |
45 | #include <mach/usb.h> | 45 | #include <plat/usb.h> |
46 | #include <mach/timer-gp.h> | 46 | #include <plat/timer-gp.h> |
47 | 47 | ||
48 | #include "mmc-twl4030.h" | 48 | #include "mmc-twl4030.h" |
49 | 49 | ||
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 72f0b1eef86e..f6f8592258f9 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -32,12 +32,12 @@ | |||
32 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
33 | #include <asm/mach/map.h> | 33 | #include <asm/mach/map.h> |
34 | 34 | ||
35 | #include <mach/board.h> | 35 | #include <plat/board.h> |
36 | #include <mach/mux.h> | 36 | #include <plat/mux.h> |
37 | #include <mach/usb.h> | 37 | #include <plat/usb.h> |
38 | #include <mach/common.h> | 38 | #include <plat/common.h> |
39 | #include <mach/mcspi.h> | 39 | #include <plat/mcspi.h> |
40 | #include <mach/keypad.h> | 40 | #include <plat/keypad.h> |
41 | 41 | ||
42 | #include "sdram-micron-mt46h32m32lf-6.h" | 42 | #include "sdram-micron-mt46h32m32lf-6.h" |
43 | #include "mmc-twl4030.h" | 43 | #include "mmc-twl4030.h" |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 12d2381b1b7a..d6bcfaab94ca 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -33,14 +33,14 @@ | |||
33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
34 | #include <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
35 | 35 | ||
36 | #include <mach/board.h> | 36 | #include <plat/board.h> |
37 | #include <mach/common.h> | 37 | #include <plat/common.h> |
38 | #include <mach/gpio.h> | 38 | #include <mach/gpio.h> |
39 | #include <mach/hardware.h> | 39 | #include <mach/hardware.h> |
40 | #include <mach/mcspi.h> | 40 | #include <plat/mcspi.h> |
41 | #include <mach/usb.h> | 41 | #include <plat/usb.h> |
42 | #include <mach/keypad.h> | 42 | #include <plat/keypad.h> |
43 | #include <mach/mux.h> | 43 | #include <plat/mux.h> |
44 | 44 | ||
45 | #include "sdram-micron-mt46h32m32lf-6.h" | 45 | #include "sdram-micron-mt46h32m32lf-6.h" |
46 | #include "mmc-twl4030.h" | 46 | #include "mmc-twl4030.h" |
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index c5e0da92e50f..461522c1bced 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c | |||
@@ -38,14 +38,14 @@ | |||
38 | #include <asm/mach/flash.h> | 38 | #include <asm/mach/flash.h> |
39 | #include <asm/mach/map.h> | 39 | #include <asm/mach/map.h> |
40 | 40 | ||
41 | #include <mach/board.h> | 41 | #include <plat/board.h> |
42 | #include <mach/common.h> | 42 | #include <plat/common.h> |
43 | #include <mach/gpio.h> | 43 | #include <mach/gpio.h> |
44 | #include <mach/gpmc.h> | 44 | #include <plat/gpmc.h> |
45 | #include <mach/hardware.h> | 45 | #include <mach/hardware.h> |
46 | #include <mach/nand.h> | 46 | #include <plat/nand.h> |
47 | #include <mach/mux.h> | 47 | #include <plat/mux.h> |
48 | #include <mach/usb.h> | 48 | #include <plat/usb.h> |
49 | 49 | ||
50 | #include "sdram-micron-mt46h32m32lf-6.h" | 50 | #include "sdram-micron-mt46h32m32lf-6.h" |
51 | #include "mmc-twl4030.h" | 51 | #include "mmc-twl4030.h" |
@@ -67,7 +67,7 @@ | |||
67 | #if defined(CONFIG_TOUCHSCREEN_ADS7846) || \ | 67 | #if defined(CONFIG_TOUCHSCREEN_ADS7846) || \ |
68 | defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) | 68 | defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) |
69 | 69 | ||
70 | #include <mach/mcspi.h> | 70 | #include <plat/mcspi.h> |
71 | #include <linux/spi/spi.h> | 71 | #include <linux/spi/spi.h> |
72 | #include <linux/spi/ads7846.h> | 72 | #include <linux/spi/ads7846.h> |
73 | 73 | ||
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 2b0eb1ba5d7f..9e16d90021d3 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -21,15 +21,15 @@ | |||
21 | #include <linux/gpio.h> | 21 | #include <linux/gpio.h> |
22 | #include <linux/mmc/host.h> | 22 | #include <linux/mmc/host.h> |
23 | 23 | ||
24 | #include <mach/mcspi.h> | 24 | #include <plat/mcspi.h> |
25 | #include <mach/mux.h> | 25 | #include <plat/mux.h> |
26 | #include <mach/board.h> | 26 | #include <plat/board.h> |
27 | #include <mach/common.h> | 27 | #include <plat/common.h> |
28 | #include <mach/dma.h> | 28 | #include <plat/dma.h> |
29 | #include <mach/gpmc.h> | 29 | #include <plat/gpmc.h> |
30 | #include <mach/keypad.h> | 30 | #include <plat/keypad.h> |
31 | #include <mach/onenand.h> | 31 | #include <plat/onenand.h> |
32 | #include <mach/gpmc-smc91x.h> | 32 | #include <plat/gpmc-smc91x.h> |
33 | 33 | ||
34 | #include "mmc-twl4030.h" | 34 | #include "mmc-twl4030.h" |
35 | 35 | ||
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index c973812d33ab..060245e14740 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
@@ -22,14 +22,14 @@ | |||
22 | #include <asm/mach/arch.h> | 22 | #include <asm/mach/arch.h> |
23 | #include <asm/mach/map.h> | 23 | #include <asm/mach/map.h> |
24 | 24 | ||
25 | #include <mach/mcspi.h> | 25 | #include <plat/mcspi.h> |
26 | #include <mach/mux.h> | 26 | #include <plat/mux.h> |
27 | #include <mach/board.h> | 27 | #include <plat/board.h> |
28 | #include <mach/common.h> | 28 | #include <plat/common.h> |
29 | #include <mach/keypad.h> | 29 | #include <plat/keypad.h> |
30 | #include <mach/dma.h> | 30 | #include <plat/dma.h> |
31 | #include <mach/gpmc.h> | 31 | #include <plat/gpmc.h> |
32 | #include <mach/usb.h> | 32 | #include <plat/usb.h> |
33 | 33 | ||
34 | static struct omap_lcd_config rx51_lcd_config = { | 34 | static struct omap_lcd_config rx51_lcd_config = { |
35 | .ctrl_name = "internal", | 35 | .ctrl_name = "internal", |
diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c index 1f13e2a1f322..91ecddc9057a 100644 --- a/arch/arm/mach-omap2/board-zoom-debugboard.c +++ b/arch/arm/mach-omap2/board-zoom-debugboard.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/smsc911x.h> | 14 | #include <linux/smsc911x.h> |
15 | #include <linux/interrupt.h> | 15 | #include <linux/interrupt.h> |
16 | 16 | ||
17 | #include <mach/gpmc.h> | 17 | #include <plat/gpmc.h> |
18 | 18 | ||
19 | #define ZOOM2_SMSC911X_CS 7 | 19 | #define ZOOM2_SMSC911X_CS 7 |
20 | #define ZOOM2_SMSC911X_GPIO 158 | 20 | #define ZOOM2_SMSC911X_GPIO 158 |
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c index 48bd2af3387e..56f9d8436323 100644 --- a/arch/arm/mach-omap2/board-zoom2.c +++ b/arch/arm/mach-omap2/board-zoom2.c | |||
@@ -20,9 +20,9 @@ | |||
20 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
21 | #include <asm/mach/arch.h> | 21 | #include <asm/mach/arch.h> |
22 | 22 | ||
23 | #include <mach/common.h> | 23 | #include <plat/common.h> |
24 | #include <mach/usb.h> | 24 | #include <plat/usb.h> |
25 | #include <mach/keypad.h> | 25 | #include <plat/keypad.h> |
26 | 26 | ||
27 | #include "mmc-twl4030.h" | 27 | #include "mmc-twl4030.h" |
28 | #include "sdram-micron-mt46h32m32lf-6.h" | 28 | #include "sdram-micron-mt46h32m32lf-6.h" |
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index f2a92d614f0f..4716206547ac 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c | |||
@@ -24,13 +24,13 @@ | |||
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | #include <linux/bitops.h> | 25 | #include <linux/bitops.h> |
26 | 26 | ||
27 | #include <mach/clock.h> | 27 | #include <plat/clock.h> |
28 | #include <mach/clockdomain.h> | 28 | #include <plat/clockdomain.h> |
29 | #include <mach/cpu.h> | 29 | #include <plat/cpu.h> |
30 | #include <mach/prcm.h> | 30 | #include <plat/prcm.h> |
31 | #include <asm/div64.h> | 31 | #include <asm/div64.h> |
32 | 32 | ||
33 | #include <mach/sdrc.h> | 33 | #include <plat/sdrc.h> |
34 | #include "sdrc.h" | 34 | #include "sdrc.h" |
35 | #include "clock.h" | 35 | #include "clock.h" |
36 | #include "prm.h" | 36 | #include "prm.h" |
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index 9ae7540f8af2..43b6bedaafd6 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #ifndef __ARCH_ARM_MACH_OMAP2_CLOCK_H | 16 | #ifndef __ARCH_ARM_MACH_OMAP2_CLOCK_H |
17 | #define __ARCH_ARM_MACH_OMAP2_CLOCK_H | 17 | #define __ARCH_ARM_MACH_OMAP2_CLOCK_H |
18 | 18 | ||
19 | #include <mach/clock.h> | 19 | #include <plat/clock.h> |
20 | 20 | ||
21 | /* The maximum error between a target DPLL rate and the rounded rate in Hz */ | 21 | /* The maximum error between a target DPLL rate and the rounded rate in Hz */ |
22 | #define DEFAULT_DPLL_RATE_TOLERANCE 50000 | 22 | #define DEFAULT_DPLL_RATE_TOLERANCE 50000 |
diff --git a/arch/arm/mach-omap2/clock24xx.c b/arch/arm/mach-omap2/clock24xx.c index e2dbedd581e8..e70e7e000eaa 100644 --- a/arch/arm/mach-omap2/clock24xx.c +++ b/arch/arm/mach-omap2/clock24xx.c | |||
@@ -28,13 +28,13 @@ | |||
28 | #include <linux/cpufreq.h> | 28 | #include <linux/cpufreq.h> |
29 | #include <linux/bitops.h> | 29 | #include <linux/bitops.h> |
30 | 30 | ||
31 | #include <mach/clock.h> | 31 | #include <plat/clock.h> |
32 | #include <mach/sram.h> | 32 | #include <plat/sram.h> |
33 | #include <mach/prcm.h> | 33 | #include <plat/prcm.h> |
34 | #include <asm/div64.h> | 34 | #include <asm/div64.h> |
35 | #include <asm/clkdev.h> | 35 | #include <asm/clkdev.h> |
36 | 36 | ||
37 | #include <mach/sdrc.h> | 37 | #include <plat/sdrc.h> |
38 | #include "clock.h" | 38 | #include "clock.h" |
39 | #include "prm.h" | 39 | #include "prm.h" |
40 | #include "prm-regbits-24xx.h" | 40 | #include "prm-regbits-24xx.h" |
diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index 489556eecbd1..c258f87e78b9 100644 --- a/arch/arm/mach-omap2/clock34xx.c +++ b/arch/arm/mach-omap2/clock34xx.c | |||
@@ -27,13 +27,13 @@ | |||
27 | #include <linux/limits.h> | 27 | #include <linux/limits.h> |
28 | #include <linux/bitops.h> | 28 | #include <linux/bitops.h> |
29 | 29 | ||
30 | #include <mach/cpu.h> | 30 | #include <plat/cpu.h> |
31 | #include <mach/clock.h> | 31 | #include <plat/clock.h> |
32 | #include <mach/sram.h> | 32 | #include <plat/sram.h> |
33 | #include <asm/div64.h> | 33 | #include <asm/div64.h> |
34 | #include <asm/clkdev.h> | 34 | #include <asm/clkdev.h> |
35 | 35 | ||
36 | #include <mach/sdrc.h> | 36 | #include <plat/sdrc.h> |
37 | #include "clock.h" | 37 | #include "clock.h" |
38 | #include "prm.h" | 38 | #include "prm.h" |
39 | #include "prm-regbits-34xx.h" | 39 | #include "prm-regbits-34xx.h" |
diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h index c8119781e00a..a1b3de7e2bd7 100644 --- a/arch/arm/mach-omap2/clock34xx.h +++ b/arch/arm/mach-omap2/clock34xx.h | |||
@@ -19,7 +19,7 @@ | |||
19 | #ifndef __ARCH_ARM_MACH_OMAP2_CLOCK34XX_H | 19 | #ifndef __ARCH_ARM_MACH_OMAP2_CLOCK34XX_H |
20 | #define __ARCH_ARM_MACH_OMAP2_CLOCK34XX_H | 20 | #define __ARCH_ARM_MACH_OMAP2_CLOCK34XX_H |
21 | 21 | ||
22 | #include <mach/control.h> | 22 | #include <plat/control.h> |
23 | 23 | ||
24 | #include "clock.h" | 24 | #include "clock.h" |
25 | #include "cm.h" | 25 | #include "cm.h" |
diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index 58aff8485df9..fcd82320a6a3 100644 --- a/arch/arm/mach-omap2/clockdomain.c +++ b/arch/arm/mach-omap2/clockdomain.c | |||
@@ -28,14 +28,14 @@ | |||
28 | 28 | ||
29 | #include <linux/bitops.h> | 29 | #include <linux/bitops.h> |
30 | 30 | ||
31 | #include <mach/clock.h> | 31 | #include <plat/clock.h> |
32 | 32 | ||
33 | #include "prm.h" | 33 | #include "prm.h" |
34 | #include "prm-regbits-24xx.h" | 34 | #include "prm-regbits-24xx.h" |
35 | #include "cm.h" | 35 | #include "cm.h" |
36 | 36 | ||
37 | #include <mach/powerdomain.h> | 37 | #include <plat/powerdomain.h> |
38 | #include <mach/clockdomain.h> | 38 | #include <plat/clockdomain.h> |
39 | 39 | ||
40 | /* clkdm_list contains all registered struct clockdomains */ | 40 | /* clkdm_list contains all registered struct clockdomains */ |
41 | static LIST_HEAD(clkdm_list); | 41 | static LIST_HEAD(clkdm_list); |
diff --git a/arch/arm/mach-omap2/clockdomains.h b/arch/arm/mach-omap2/clockdomains.h index fe319ae4ca0a..c4ee0761d908 100644 --- a/arch/arm/mach-omap2/clockdomains.h +++ b/arch/arm/mach-omap2/clockdomains.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifndef __ARCH_ARM_MACH_OMAP2_CLOCKDOMAINS_H | 10 | #ifndef __ARCH_ARM_MACH_OMAP2_CLOCKDOMAINS_H |
11 | #define __ARCH_ARM_MACH_OMAP2_CLOCKDOMAINS_H | 11 | #define __ARCH_ARM_MACH_OMAP2_CLOCKDOMAINS_H |
12 | 12 | ||
13 | #include <mach/clockdomain.h> | 13 | #include <plat/clockdomain.h> |
14 | 14 | ||
15 | /* | 15 | /* |
16 | * OMAP2/3-common clockdomains | 16 | * OMAP2/3-common clockdomains |
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index 5f3aad977842..6adb360c6d45 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c | |||
@@ -15,8 +15,8 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | 17 | ||
18 | #include <mach/common.h> | 18 | #include <plat/common.h> |
19 | #include <mach/control.h> | 19 | #include <plat/control.h> |
20 | 20 | ||
21 | static void __iomem *omap2_ctrl_base; | 21 | static void __iomem *omap2_ctrl_base; |
22 | 22 | ||
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index faf7a1e0c525..7d4513b619f2 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -20,12 +20,12 @@ | |||
20 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
21 | #include <asm/mach/map.h> | 21 | #include <asm/mach/map.h> |
22 | 22 | ||
23 | #include <mach/control.h> | 23 | #include <plat/control.h> |
24 | #include <mach/tc.h> | 24 | #include <plat/tc.h> |
25 | #include <mach/board.h> | 25 | #include <plat/board.h> |
26 | #include <mach/mux.h> | 26 | #include <plat/mux.h> |
27 | #include <mach/gpio.h> | 27 | #include <mach/gpio.h> |
28 | #include <mach/mmc.h> | 28 | #include <plat/mmc.h> |
29 | 29 | ||
30 | #if defined(CONFIG_VIDEO_OMAP2) || defined(CONFIG_VIDEO_OMAP2_MODULE) | 30 | #if defined(CONFIG_VIDEO_OMAP2) || defined(CONFIG_VIDEO_OMAP2_MODULE) |
31 | 31 | ||
@@ -250,7 +250,7 @@ static inline void omap_init_sti(void) {} | |||
250 | 250 | ||
251 | #if defined(CONFIG_SPI_OMAP24XX) || defined(CONFIG_SPI_OMAP24XX_MODULE) | 251 | #if defined(CONFIG_SPI_OMAP24XX) || defined(CONFIG_SPI_OMAP24XX_MODULE) |
252 | 252 | ||
253 | #include <mach/mcspi.h> | 253 | #include <plat/mcspi.h> |
254 | 254 | ||
255 | #define OMAP2_MCSPI1_BASE 0x48098000 | 255 | #define OMAP2_MCSPI1_BASE 0x48098000 |
256 | #define OMAP2_MCSPI2_BASE 0x4809a000 | 256 | #define OMAP2_MCSPI2_BASE 0x4809a000 |
diff --git a/arch/arm/mach-omap2/gpmc-onenand.c b/arch/arm/mach-omap2/gpmc-onenand.c index 54fec53a48e7..7bb69220adfa 100644 --- a/arch/arm/mach-omap2/gpmc-onenand.c +++ b/arch/arm/mach-omap2/gpmc-onenand.c | |||
@@ -17,9 +17,9 @@ | |||
17 | 17 | ||
18 | #include <asm/mach/flash.h> | 18 | #include <asm/mach/flash.h> |
19 | 19 | ||
20 | #include <mach/onenand.h> | 20 | #include <plat/onenand.h> |
21 | #include <mach/board.h> | 21 | #include <plat/board.h> |
22 | #include <mach/gpmc.h> | 22 | #include <plat/gpmc.h> |
23 | 23 | ||
24 | static struct omap_onenand_platform_data *gpmc_onenand_data; | 24 | static struct omap_onenand_platform_data *gpmc_onenand_data; |
25 | 25 | ||
diff --git a/arch/arm/mach-omap2/gpmc-smc91x.c b/arch/arm/mach-omap2/gpmc-smc91x.c index df99d31d8b64..6083e21b3be6 100644 --- a/arch/arm/mach-omap2/gpmc-smc91x.c +++ b/arch/arm/mach-omap2/gpmc-smc91x.c | |||
@@ -17,9 +17,9 @@ | |||
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | #include <linux/smc91x.h> | 18 | #include <linux/smc91x.h> |
19 | 19 | ||
20 | #include <mach/board.h> | 20 | #include <plat/board.h> |
21 | #include <mach/gpmc.h> | 21 | #include <plat/gpmc.h> |
22 | #include <mach/gpmc-smc91x.h> | 22 | #include <plat/gpmc-smc91x.h> |
23 | 23 | ||
24 | static struct omap_smc91x_platform_data *gpmc_cfg; | 24 | static struct omap_smc91x_platform_data *gpmc_cfg; |
25 | 25 | ||
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 15876828db23..004da696ace7 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -24,9 +24,9 @@ | |||
24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
25 | 25 | ||
26 | #include <asm/mach-types.h> | 26 | #include <asm/mach-types.h> |
27 | #include <mach/gpmc.h> | 27 | #include <plat/gpmc.h> |
28 | 28 | ||
29 | #include <mach/sdrc.h> | 29 | #include <plat/sdrc.h> |
30 | 30 | ||
31 | /* GPMC register offsets */ | 31 | /* GPMC register offsets */ |
32 | #define GPMC_REVISION 0x00 | 32 | #define GPMC_REVISION 0x00 |
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index a98201cc265c..d28e6fec7e47 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -21,9 +21,9 @@ | |||
21 | 21 | ||
22 | #include <asm/cputype.h> | 22 | #include <asm/cputype.h> |
23 | 23 | ||
24 | #include <mach/common.h> | 24 | #include <plat/common.h> |
25 | #include <mach/control.h> | 25 | #include <plat/control.h> |
26 | #include <mach/cpu.h> | 26 | #include <plat/cpu.h> |
27 | 27 | ||
28 | static struct omap_chip_id omap_chip; | 28 | static struct omap_chip_id omap_chip; |
29 | static unsigned int omap_revision; | 29 | static unsigned int omap_revision; |
diff --git a/arch/arm/mach-omap2/include/mach/entry-macro.S b/arch/arm/mach-omap2/include/mach/entry-macro.S index 6149d34a9cd2..c7f1720bf282 100644 --- a/arch/arm/mach-omap2/include/mach/entry-macro.S +++ b/arch/arm/mach-omap2/include/mach/entry-macro.S | |||
@@ -15,8 +15,8 @@ | |||
15 | #include <mach/irqs.h> | 15 | #include <mach/irqs.h> |
16 | #include <asm/hardware/gic.h> | 16 | #include <asm/hardware/gic.h> |
17 | 17 | ||
18 | #include <mach/omap24xx.h> | 18 | #include <plat/omap24xx.h> |
19 | #include <mach/omap34xx.h> | 19 | #include <plat/omap34xx.h> |
20 | 20 | ||
21 | /* REVISIT: This should be set dynamically if CONFIG_MULTI_OMAP2 is selected */ | 21 | /* REVISIT: This should be set dynamically if CONFIG_MULTI_OMAP2 is selected */ |
22 | #if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) | 22 | #if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) |
@@ -25,7 +25,7 @@ | |||
25 | #define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE) | 25 | #define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE) |
26 | #endif | 26 | #endif |
27 | #if defined(CONFIG_ARCH_OMAP4) | 27 | #if defined(CONFIG_ARCH_OMAP4) |
28 | #include <mach/omap44xx.h> | 28 | #include <plat/omap44xx.h> |
29 | #endif | 29 | #endif |
30 | #define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ | 30 | #define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ |
31 | #define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ | 31 | #define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ |
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index fc629532db62..3c33f24208a3 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -27,24 +27,24 @@ | |||
27 | 27 | ||
28 | #include <asm/mach/map.h> | 28 | #include <asm/mach/map.h> |
29 | 29 | ||
30 | #include <mach/mux.h> | 30 | #include <plat/mux.h> |
31 | #include <mach/omapfb.h> | 31 | #include <plat/omapfb.h> |
32 | #include <mach/sram.h> | 32 | #include <plat/sram.h> |
33 | #include <mach/sdrc.h> | 33 | #include <plat/sdrc.h> |
34 | #include <mach/gpmc.h> | 34 | #include <plat/gpmc.h> |
35 | #include <mach/serial.h> | 35 | #include <plat/serial.h> |
36 | 36 | ||
37 | #ifndef CONFIG_ARCH_OMAP4 /* FIXME: Remove this once clkdev is ready */ | 37 | #ifndef CONFIG_ARCH_OMAP4 /* FIXME: Remove this once clkdev is ready */ |
38 | #include "clock.h" | 38 | #include "clock.h" |
39 | 39 | ||
40 | #include <mach/omap-pm.h> | 40 | #include <plat/omap-pm.h> |
41 | #include <mach/powerdomain.h> | 41 | #include <plat/powerdomain.h> |
42 | #include "powerdomains.h" | 42 | #include "powerdomains.h" |
43 | 43 | ||
44 | #include <mach/clockdomain.h> | 44 | #include <plat/clockdomain.h> |
45 | #include "clockdomains.h" | 45 | #include "clockdomains.h" |
46 | #endif | 46 | #endif |
47 | #include <mach/omap_hwmod.h> | 47 | #include <plat/omap_hwmod.h> |
48 | #include "omap_hwmod_2420.h" | 48 | #include "omap_hwmod_2420.h" |
49 | #include "omap_hwmod_2430.h" | 49 | #include "omap_hwmod_2430.h" |
50 | #include "omap_hwmod_34xx.h" | 50 | #include "omap_hwmod_34xx.h" |
diff --git a/arch/arm/mach-omap2/iommu2.c b/arch/arm/mach-omap2/iommu2.c index 4a0e1cd5c1f4..6f4b7cc8f4d1 100644 --- a/arch/arm/mach-omap2/iommu2.c +++ b/arch/arm/mach-omap2/iommu2.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
18 | #include <linux/stringify.h> | 18 | #include <linux/stringify.h> |
19 | 19 | ||
20 | #include <mach/iommu.h> | 20 | #include <plat/iommu.h> |
21 | 21 | ||
22 | /* | 22 | /* |
23 | * omap2 architecture specific register bit definitions | 23 | * omap2 architecture specific register bit definitions |
diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index c035ad3426d0..46e1f2ebcdca 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/err.h> | 15 | #include <linux/err.h> |
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | #include <mach/mailbox.h> | 18 | #include <plat/mailbox.h> |
19 | #include <mach/irqs.h> | 19 | #include <mach/irqs.h> |
20 | 20 | ||
21 | #define MAILBOX_REVISION 0x000 | 21 | #define MAILBOX_REVISION 0x000 |
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index a846aa1ebb4d..baa451733850 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c | |||
@@ -18,10 +18,10 @@ | |||
18 | #include <linux/platform_device.h> | 18 | #include <linux/platform_device.h> |
19 | 19 | ||
20 | #include <mach/irqs.h> | 20 | #include <mach/irqs.h> |
21 | #include <mach/dma.h> | 21 | #include <plat/dma.h> |
22 | #include <mach/mux.h> | 22 | #include <plat/mux.h> |
23 | #include <mach/cpu.h> | 23 | #include <plat/cpu.h> |
24 | #include <mach/mcbsp.h> | 24 | #include <plat/mcbsp.h> |
25 | 25 | ||
26 | static void omap2_mcbsp2_mux_setup(void) | 26 | static void omap2_mcbsp2_mux_setup(void) |
27 | { | 27 | { |
diff --git a/arch/arm/mach-omap2/mmc-twl4030.c b/arch/arm/mach-omap2/mmc-twl4030.c index c9c59a2db4e2..340391468909 100644 --- a/arch/arm/mach-omap2/mmc-twl4030.c +++ b/arch/arm/mach-omap2/mmc-twl4030.c | |||
@@ -20,9 +20,9 @@ | |||
20 | #include <linux/regulator/consumer.h> | 20 | #include <linux/regulator/consumer.h> |
21 | 21 | ||
22 | #include <mach/hardware.h> | 22 | #include <mach/hardware.h> |
23 | #include <mach/control.h> | 23 | #include <plat/control.h> |
24 | #include <mach/mmc.h> | 24 | #include <plat/mmc.h> |
25 | #include <mach/board.h> | 25 | #include <plat/board.h> |
26 | 26 | ||
27 | #include "mmc-twl4030.h" | 27 | #include "mmc-twl4030.h" |
28 | 28 | ||
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index b5fac32aae70..32c953e608db 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c | |||
@@ -30,8 +30,8 @@ | |||
30 | 30 | ||
31 | #include <asm/system.h> | 31 | #include <asm/system.h> |
32 | 32 | ||
33 | #include <mach/control.h> | 33 | #include <plat/control.h> |
34 | #include <mach/mux.h> | 34 | #include <plat/mux.h> |
35 | 35 | ||
36 | #ifdef CONFIG_OMAP_MUX | 36 | #ifdef CONFIG_OMAP_MUX |
37 | 37 | ||
diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c index 8813ac25c5ed..4890bcf4dadd 100644 --- a/arch/arm/mach-omap2/omap-smp.c +++ b/arch/arm/mach-omap2/omap-smp.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/localtimer.h> | 24 | #include <asm/localtimer.h> |
25 | #include <asm/smp_scu.h> | 25 | #include <asm/smp_scu.h> |
26 | #include <mach/hardware.h> | 26 | #include <mach/hardware.h> |
27 | #include <mach/common.h> | 27 | #include <plat/common.h> |
28 | 28 | ||
29 | /* Registers used for communicating startup information */ | 29 | /* Registers used for communicating startup information */ |
30 | static void __iomem *omap4_auxcoreboot_reg0; | 30 | static void __iomem *omap4_auxcoreboot_reg0; |
diff --git a/arch/arm/mach-omap2/omap3-iommu.c b/arch/arm/mach-omap2/omap3-iommu.c index 194189c746c2..6a9bf4f59d8a 100644 --- a/arch/arm/mach-omap2/omap3-iommu.c +++ b/arch/arm/mach-omap2/omap3-iommu.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
14 | 14 | ||
15 | #include <mach/iommu.h> | 15 | #include <plat/iommu.h> |
16 | 16 | ||
17 | #define OMAP3_MMU1_BASE 0x480bd400 | 17 | #define OMAP3_MMU1_BASE 0x480bd400 |
18 | #define OMAP3_MMU2_BASE 0x5d000000 | 18 | #define OMAP3_MMU2_BASE 0x5d000000 |
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 8ac8798feb92..633b216a8b26 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -45,11 +45,11 @@ | |||
45 | #include <linux/mutex.h> | 45 | #include <linux/mutex.h> |
46 | #include <linux/bootmem.h> | 46 | #include <linux/bootmem.h> |
47 | 47 | ||
48 | #include <mach/cpu.h> | 48 | #include <plat/cpu.h> |
49 | #include <mach/clockdomain.h> | 49 | #include <plat/clockdomain.h> |
50 | #include <mach/powerdomain.h> | 50 | #include <plat/powerdomain.h> |
51 | #include <mach/clock.h> | 51 | #include <plat/clock.h> |
52 | #include <mach/omap_hwmod.h> | 52 | #include <plat/omap_hwmod.h> |
53 | 53 | ||
54 | #include "cm.h" | 54 | #include "cm.h" |
55 | 55 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420.h b/arch/arm/mach-omap2/omap_hwmod_2420.h index 767e4965ac4e..a9ca1b99a301 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2420.h +++ b/arch/arm/mach-omap2/omap_hwmod_2420.h | |||
@@ -16,10 +16,10 @@ | |||
16 | 16 | ||
17 | #ifdef CONFIG_ARCH_OMAP2420 | 17 | #ifdef CONFIG_ARCH_OMAP2420 |
18 | 18 | ||
19 | #include <mach/omap_hwmod.h> | 19 | #include <plat/omap_hwmod.h> |
20 | #include <mach/irqs.h> | 20 | #include <mach/irqs.h> |
21 | #include <mach/cpu.h> | 21 | #include <plat/cpu.h> |
22 | #include <mach/dma.h> | 22 | #include <plat/dma.h> |
23 | 23 | ||
24 | #include "prm-regbits-24xx.h" | 24 | #include "prm-regbits-24xx.h" |
25 | 25 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430.h b/arch/arm/mach-omap2/omap_hwmod_2430.h index a412be6420ec..59a208bea6c2 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2430.h +++ b/arch/arm/mach-omap2/omap_hwmod_2430.h | |||
@@ -16,10 +16,10 @@ | |||
16 | 16 | ||
17 | #ifdef CONFIG_ARCH_OMAP2430 | 17 | #ifdef CONFIG_ARCH_OMAP2430 |
18 | 18 | ||
19 | #include <mach/omap_hwmod.h> | 19 | #include <plat/omap_hwmod.h> |
20 | #include <mach/irqs.h> | 20 | #include <mach/irqs.h> |
21 | #include <mach/cpu.h> | 21 | #include <plat/cpu.h> |
22 | #include <mach/dma.h> | 22 | #include <plat/dma.h> |
23 | 23 | ||
24 | #include "prm-regbits-24xx.h" | 24 | #include "prm-regbits-24xx.h" |
25 | 25 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_34xx.h b/arch/arm/mach-omap2/omap_hwmod_34xx.h index 1e069f831575..b6076b9c364e 100644 --- a/arch/arm/mach-omap2/omap_hwmod_34xx.h +++ b/arch/arm/mach-omap2/omap_hwmod_34xx.h | |||
@@ -14,10 +14,10 @@ | |||
14 | 14 | ||
15 | #ifdef CONFIG_ARCH_OMAP34XX | 15 | #ifdef CONFIG_ARCH_OMAP34XX |
16 | 16 | ||
17 | #include <mach/omap_hwmod.h> | 17 | #include <plat/omap_hwmod.h> |
18 | #include <mach/irqs.h> | 18 | #include <mach/irqs.h> |
19 | #include <mach/cpu.h> | 19 | #include <plat/cpu.h> |
20 | #include <mach/dma.h> | 20 | #include <plat/dma.h> |
21 | 21 | ||
22 | #include "prm-regbits-34xx.h" | 22 | #include "prm-regbits-34xx.h" |
23 | 23 | ||
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index deed1ddd039a..7eb2c12c8b7c 100644 --- a/arch/arm/mach-omap2/pm-debug.c +++ b/arch/arm/mach-omap2/pm-debug.c | |||
@@ -26,10 +26,10 @@ | |||
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | 28 | ||
29 | #include <mach/clock.h> | 29 | #include <plat/clock.h> |
30 | #include <mach/board.h> | 30 | #include <plat/board.h> |
31 | #include <mach/powerdomain.h> | 31 | #include <plat/powerdomain.h> |
32 | #include <mach/clockdomain.h> | 32 | #include <plat/clockdomain.h> |
33 | 33 | ||
34 | #include "prm.h" | 34 | #include "prm.h" |
35 | #include "cm.h" | 35 | #include "cm.h" |
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index 8400f5768923..85b6face5392 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch/arm/mach-omap2/pm.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #ifndef __ARCH_ARM_MACH_OMAP2_PM_H | 11 | #ifndef __ARCH_ARM_MACH_OMAP2_PM_H |
12 | #define __ARCH_ARM_MACH_OMAP2_PM_H | 12 | #define __ARCH_ARM_MACH_OMAP2_PM_H |
13 | 13 | ||
14 | #include <mach/powerdomain.h> | 14 | #include <plat/powerdomain.h> |
15 | 15 | ||
16 | extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); | 16 | extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); |
17 | extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); | 17 | extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); |
diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c index bff5c4e89742..cba05b9f041f 100644 --- a/arch/arm/mach-omap2/pm24xx.c +++ b/arch/arm/mach-omap2/pm24xx.c | |||
@@ -36,12 +36,12 @@ | |||
36 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
37 | 37 | ||
38 | #include <mach/irqs.h> | 38 | #include <mach/irqs.h> |
39 | #include <mach/clock.h> | 39 | #include <plat/clock.h> |
40 | #include <mach/sram.h> | 40 | #include <plat/sram.h> |
41 | #include <mach/control.h> | 41 | #include <plat/control.h> |
42 | #include <mach/mux.h> | 42 | #include <plat/mux.h> |
43 | #include <mach/dma.h> | 43 | #include <plat/dma.h> |
44 | #include <mach/board.h> | 44 | #include <plat/board.h> |
45 | 45 | ||
46 | #include "prm.h" | 46 | #include "prm.h" |
47 | #include "prm-regbits-24xx.h" | 47 | #include "prm-regbits-24xx.h" |
@@ -50,8 +50,8 @@ | |||
50 | #include "sdrc.h" | 50 | #include "sdrc.h" |
51 | #include "pm.h" | 51 | #include "pm.h" |
52 | 52 | ||
53 | #include <mach/powerdomain.h> | 53 | #include <plat/powerdomain.h> |
54 | #include <mach/clockdomain.h> | 54 | #include <plat/clockdomain.h> |
55 | 55 | ||
56 | static void (*omap2_sram_idle)(void); | 56 | static void (*omap2_sram_idle)(void); |
57 | static void (*omap2_sram_suspend)(u32 dllctrl, void __iomem *sdrc_dlla_ctrl, | 57 | static void (*omap2_sram_suspend)(u32 dllctrl, void __iomem *sdrc_dlla_ctrl, |
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 378c2f618358..10aa923ea484 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -23,11 +23,11 @@ | |||
23 | #include <linux/err.h> | 23 | #include <linux/err.h> |
24 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
25 | 25 | ||
26 | #include <mach/sram.h> | 26 | #include <plat/sram.h> |
27 | #include <mach/clockdomain.h> | 27 | #include <plat/clockdomain.h> |
28 | #include <mach/powerdomain.h> | 28 | #include <plat/powerdomain.h> |
29 | #include <mach/control.h> | 29 | #include <plat/control.h> |
30 | #include <mach/serial.h> | 30 | #include <plat/serial.h> |
31 | 31 | ||
32 | #include "cm.h" | 32 | #include "cm.h" |
33 | #include "cm-regbits-34xx.h" | 33 | #include "cm-regbits-34xx.h" |
diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c index f00289abd30f..b6990e377783 100644 --- a/arch/arm/mach-omap2/powerdomain.c +++ b/arch/arm/mach-omap2/powerdomain.c | |||
@@ -31,9 +31,9 @@ | |||
31 | #include "prm.h" | 31 | #include "prm.h" |
32 | #include "prm-regbits-34xx.h" | 32 | #include "prm-regbits-34xx.h" |
33 | 33 | ||
34 | #include <mach/cpu.h> | 34 | #include <plat/cpu.h> |
35 | #include <mach/powerdomain.h> | 35 | #include <plat/powerdomain.h> |
36 | #include <mach/clockdomain.h> | 36 | #include <plat/clockdomain.h> |
37 | 37 | ||
38 | #include "pm.h" | 38 | #include "pm.h" |
39 | 39 | ||
diff --git a/arch/arm/mach-omap2/powerdomains.h b/arch/arm/mach-omap2/powerdomains.h index 691470ea4c6a..057b2e3e2c35 100644 --- a/arch/arm/mach-omap2/powerdomains.h +++ b/arch/arm/mach-omap2/powerdomains.h | |||
@@ -63,7 +63,7 @@ | |||
63 | * XXX encode hardware fixed wakeup dependencies -- esp. for 3430 CORE | 63 | * XXX encode hardware fixed wakeup dependencies -- esp. for 3430 CORE |
64 | */ | 64 | */ |
65 | 65 | ||
66 | #include <mach/powerdomain.h> | 66 | #include <plat/powerdomain.h> |
67 | 67 | ||
68 | #include "prcm-common.h" | 68 | #include "prcm-common.h" |
69 | #include "prm.h" | 69 | #include "prm.h" |
diff --git a/arch/arm/mach-omap2/powerdomains24xx.h b/arch/arm/mach-omap2/powerdomains24xx.h index 9f08dc3f7fd2..bd249a495aa9 100644 --- a/arch/arm/mach-omap2/powerdomains24xx.h +++ b/arch/arm/mach-omap2/powerdomains24xx.h | |||
@@ -20,7 +20,7 @@ | |||
20 | * the array in mach-omap2/powerdomains.h. | 20 | * the array in mach-omap2/powerdomains.h. |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include <mach/powerdomain.h> | 23 | #include <plat/powerdomain.h> |
24 | 24 | ||
25 | #include "prcm-common.h" | 25 | #include "prcm-common.h" |
26 | #include "prm.h" | 26 | #include "prm.h" |
diff --git a/arch/arm/mach-omap2/powerdomains34xx.h b/arch/arm/mach-omap2/powerdomains34xx.h index 4dcf94b800ab..f70eb2da17e7 100644 --- a/arch/arm/mach-omap2/powerdomains34xx.h +++ b/arch/arm/mach-omap2/powerdomains34xx.h | |||
@@ -20,7 +20,7 @@ | |||
20 | * the array in mach-omap2/powerdomains.h. | 20 | * the array in mach-omap2/powerdomains.h. |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include <mach/powerdomain.h> | 23 | #include <plat/powerdomain.h> |
24 | 24 | ||
25 | #include "prcm-common.h" | 25 | #include "prcm-common.h" |
26 | #include "prm.h" | 26 | #include "prm.h" |
diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c index ced555a4cd1a..b0d3ad05be2e 100644 --- a/arch/arm/mach-omap2/prcm.c +++ b/arch/arm/mach-omap2/prcm.c | |||
@@ -19,8 +19,8 @@ | |||
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | #include <linux/delay.h> | 20 | #include <linux/delay.h> |
21 | 21 | ||
22 | #include <mach/common.h> | 22 | #include <plat/common.h> |
23 | #include <mach/prcm.h> | 23 | #include <plat/prcm.h> |
24 | 24 | ||
25 | #include "clock.h" | 25 | #include "clock.h" |
26 | #include "prm.h" | 26 | #include "prm.h" |
diff --git a/arch/arm/mach-omap2/sdram-micron-mt46h32m32lf-6.h b/arch/arm/mach-omap2/sdram-micron-mt46h32m32lf-6.h index 02e1c2d4705f..a391b4939f74 100644 --- a/arch/arm/mach-omap2/sdram-micron-mt46h32m32lf-6.h +++ b/arch/arm/mach-omap2/sdram-micron-mt46h32m32lf-6.h | |||
@@ -14,7 +14,7 @@ | |||
14 | #ifndef ARCH_ARM_MACH_OMAP2_SDRAM_MICRON_MT46H32M32LF | 14 | #ifndef ARCH_ARM_MACH_OMAP2_SDRAM_MICRON_MT46H32M32LF |
15 | #define ARCH_ARM_MACH_OMAP2_SDRAM_MICRON_MT46H32M32LF | 15 | #define ARCH_ARM_MACH_OMAP2_SDRAM_MICRON_MT46H32M32LF |
16 | 16 | ||
17 | #include <mach/sdrc.h> | 17 | #include <plat/sdrc.h> |
18 | 18 | ||
19 | /* Micron MT46H32M32LF-6 */ | 19 | /* Micron MT46H32M32LF-6 */ |
20 | /* XXX Using ARE = 0x1 (no autorefresh burst) -- can this be changed? */ | 20 | /* XXX Using ARE = 0x1 (no autorefresh burst) -- can this be changed? */ |
diff --git a/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h b/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h index 3751d293cb1f..0e518a72831f 100644 --- a/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h +++ b/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h | |||
@@ -14,7 +14,7 @@ | |||
14 | #ifndef ARCH_ARM_MACH_OMAP2_SDRAM_QIMONDA_HYB18M512160AF6 | 14 | #ifndef ARCH_ARM_MACH_OMAP2_SDRAM_QIMONDA_HYB18M512160AF6 |
15 | #define ARCH_ARM_MACH_OMAP2_SDRAM_QIMONDA_HYB18M512160AF6 | 15 | #define ARCH_ARM_MACH_OMAP2_SDRAM_QIMONDA_HYB18M512160AF6 |
16 | 16 | ||
17 | #include <mach/sdrc.h> | 17 | #include <plat/sdrc.h> |
18 | 18 | ||
19 | /* Qimonda HYB18M512160AF-6 */ | 19 | /* Qimonda HYB18M512160AF-6 */ |
20 | static struct omap_sdrc_params hyb18m512160af6_sdrc_params[] = { | 20 | static struct omap_sdrc_params hyb18m512160af6_sdrc_params[] = { |
diff --git a/arch/arm/mach-omap2/sdrc.c b/arch/arm/mach-omap2/sdrc.c index 9e3bd4fa7810..07000de48f34 100644 --- a/arch/arm/mach-omap2/sdrc.c +++ b/arch/arm/mach-omap2/sdrc.c | |||
@@ -23,13 +23,13 @@ | |||
23 | #include <linux/clk.h> | 23 | #include <linux/clk.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | 25 | ||
26 | #include <mach/common.h> | 26 | #include <plat/common.h> |
27 | #include <mach/clock.h> | 27 | #include <plat/clock.h> |
28 | #include <mach/sram.h> | 28 | #include <plat/sram.h> |
29 | 29 | ||
30 | #include "prm.h" | 30 | #include "prm.h" |
31 | 31 | ||
32 | #include <mach/sdrc.h> | 32 | #include <plat/sdrc.h> |
33 | #include "sdrc.h" | 33 | #include "sdrc.h" |
34 | 34 | ||
35 | static struct omap_sdrc_params *sdrc_init_params_cs0, *sdrc_init_params_cs1; | 35 | static struct omap_sdrc_params *sdrc_init_params_cs0, *sdrc_init_params_cs1; |
diff --git a/arch/arm/mach-omap2/sdrc.h b/arch/arm/mach-omap2/sdrc.h index 345183dbc7fb..48207b018989 100644 --- a/arch/arm/mach-omap2/sdrc.h +++ b/arch/arm/mach-omap2/sdrc.h | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #undef DEBUG | 16 | #undef DEBUG |
17 | 17 | ||
18 | #include <mach/sdrc.h> | 18 | #include <plat/sdrc.h> |
19 | 19 | ||
20 | #ifndef __ASSEMBLER__ | 20 | #ifndef __ASSEMBLER__ |
21 | extern void __iomem *omap2_sdrc_base; | 21 | extern void __iomem *omap2_sdrc_base; |
diff --git a/arch/arm/mach-omap2/sdrc2xxx.c b/arch/arm/mach-omap2/sdrc2xxx.c index feaec7eaf6bd..0f4d27aef44d 100644 --- a/arch/arm/mach-omap2/sdrc2xxx.c +++ b/arch/arm/mach-omap2/sdrc2xxx.c | |||
@@ -24,13 +24,13 @@ | |||
24 | #include <linux/clk.h> | 24 | #include <linux/clk.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | 26 | ||
27 | #include <mach/common.h> | 27 | #include <plat/common.h> |
28 | #include <mach/clock.h> | 28 | #include <plat/clock.h> |
29 | #include <mach/sram.h> | 29 | #include <plat/sram.h> |
30 | 30 | ||
31 | #include "prm.h" | 31 | #include "prm.h" |
32 | #include "clock.h" | 32 | #include "clock.h" |
33 | #include <mach/sdrc.h> | 33 | #include <plat/sdrc.h> |
34 | #include "sdrc.h" | 34 | #include "sdrc.h" |
35 | 35 | ||
36 | /* Memory timing, DLL mode flags */ | 36 | /* Memory timing, DLL mode flags */ |
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index a1949d4262cd..f14a1a17f717 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -24,10 +24,10 @@ | |||
24 | #include <linux/clk.h> | 24 | #include <linux/clk.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | 26 | ||
27 | #include <mach/common.h> | 27 | #include <plat/common.h> |
28 | #include <mach/board.h> | 28 | #include <plat/board.h> |
29 | #include <mach/clock.h> | 29 | #include <plat/clock.h> |
30 | #include <mach/control.h> | 30 | #include <plat/control.h> |
31 | 31 | ||
32 | #include "prm.h" | 32 | #include "prm.h" |
33 | #include "pm.h" | 33 | #include "pm.h" |
diff --git a/arch/arm/mach-omap2/sleep24xx.S b/arch/arm/mach-omap2/sleep24xx.S index 130aadbfa083..c7780cc8d919 100644 --- a/arch/arm/mach-omap2/sleep24xx.S +++ b/arch/arm/mach-omap2/sleep24xx.S | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <asm/assembler.h> | 29 | #include <asm/assembler.h> |
30 | #include <mach/io.h> | 30 | #include <mach/io.h> |
31 | 31 | ||
32 | #include <mach/omap24xx.h> | 32 | #include <plat/omap24xx.h> |
33 | 33 | ||
34 | #include "sdrc.h" | 34 | #include "sdrc.h" |
35 | 35 | ||
diff --git a/arch/arm/mach-omap2/sleep34xx.S b/arch/arm/mach-omap2/sleep34xx.S index e5e2553e79a6..6a749f2fea63 100644 --- a/arch/arm/mach-omap2/sleep34xx.S +++ b/arch/arm/mach-omap2/sleep34xx.S | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/linkage.h> | 27 | #include <linux/linkage.h> |
28 | #include <asm/assembler.h> | 28 | #include <asm/assembler.h> |
29 | #include <mach/io.h> | 29 | #include <mach/io.h> |
30 | #include <mach/control.h> | 30 | #include <plat/control.h> |
31 | 31 | ||
32 | #include "prm.h" | 32 | #include "prm.h" |
33 | #include "sdrc.h" | 33 | #include "sdrc.h" |
diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach-omap2/timer-gp.c index cd729706b3a9..df2b7094de98 100644 --- a/arch/arm/mach-omap2/timer-gp.c +++ b/arch/arm/mach-omap2/timer-gp.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/clockchips.h> | 37 | #include <linux/clockchips.h> |
38 | 38 | ||
39 | #include <asm/mach/time.h> | 39 | #include <asm/mach/time.h> |
40 | #include <mach/dmtimer.h> | 40 | #include <plat/dmtimer.h> |
41 | #include <asm/localtimer.h> | 41 | #include <asm/localtimer.h> |
42 | 42 | ||
43 | /* MAX_GPTIMER_ID: number of GPTIMERs on the chip */ | 43 | /* MAX_GPTIMER_ID: number of GPTIMERs on the chip */ |
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index 1145a2562b0f..a80441dd19b8 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c | |||
@@ -28,8 +28,8 @@ | |||
28 | 28 | ||
29 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
30 | #include <mach/irqs.h> | 30 | #include <mach/irqs.h> |
31 | #include <mach/mux.h> | 31 | #include <plat/mux.h> |
32 | #include <mach/usb.h> | 32 | #include <plat/usb.h> |
33 | 33 | ||
34 | #ifdef CONFIG_USB_MUSB_SOC | 34 | #ifdef CONFIG_USB_MUSB_SOC |
35 | 35 | ||
diff --git a/arch/arm/mach-omap2/usb-tusb6010.c b/arch/arm/mach-omap2/usb-tusb6010.c index 8622c24cd270..10a2013c1104 100644 --- a/arch/arm/mach-omap2/usb-tusb6010.c +++ b/arch/arm/mach-omap2/usb-tusb6010.c | |||
@@ -16,8 +16,8 @@ | |||
16 | 16 | ||
17 | #include <linux/usb/musb.h> | 17 | #include <linux/usb/musb.h> |
18 | 18 | ||
19 | #include <mach/gpmc.h> | 19 | #include <plat/gpmc.h> |
20 | #include <mach/mux.h> | 20 | #include <plat/mux.h> |
21 | 21 | ||
22 | 22 | ||
23 | static u8 async_cs, sync_cs; | 23 | static u8 async_cs, sync_cs; |