diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-02 20:41:35 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-18 19:05:55 -0400 |
commit | 2a296c8f89bc6aaf91b255c7d631fcbbfaf840ec (patch) | |
tree | 7c895c5e5579ed9e7f2c64392a463c48d088b6dd | |
parent | 2ba30f0f23d277dec2a53ad6ccaa2f2c6e994fc8 (diff) |
ARM: OMAP: Make plat/omap_hwmod.h local to mach-omap2
Let's make omap_hwmod local to mach-omap2 for
ARM common zImage support.
Signed-off-by: Tony Lindgren <tony@atomide.com>
34 files changed, 47 insertions, 36 deletions
diff --git a/arch/arm/mach-omap2/clockdomain.h b/arch/arm/mach-omap2/clockdomain.h index 629576be7444..a868c0296265 100644 --- a/arch/arm/mach-omap2/clockdomain.h +++ b/arch/arm/mach-omap2/clockdomain.h | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include "powerdomain.h" | 20 | #include "powerdomain.h" |
21 | #include <plat/clock.h> | 21 | #include <plat/clock.h> |
22 | #include <plat/omap_hwmod.h> | 22 | #include "omap_hwmod.h" |
23 | #include <plat/cpu.h> | 23 | #include <plat/cpu.h> |
24 | 24 | ||
25 | /* | 25 | /* |
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 48c0def2dbc2..86a5e13c9f59 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -23,9 +23,10 @@ | |||
23 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
24 | #include <asm/mach/map.h> | 24 | #include <asm/mach/map.h> |
25 | 25 | ||
26 | #include "iomap.h" | ||
27 | #include <plat-omap/dma-omap.h> | 26 | #include <plat-omap/dma-omap.h> |
28 | #include <plat/omap_hwmod.h> | 27 | |
28 | #include "iomap.h" | ||
29 | #include "omap_hwmod.h" | ||
29 | #include "omap_device.h" | 30 | #include "omap_device.h" |
30 | #include "omap4-keypad.h" | 31 | #include "omap4-keypad.h" |
31 | 32 | ||
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 55661d00423c..815af41c4375 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/delay.h> | 25 | #include <linux/delay.h> |
26 | 26 | ||
27 | #include <video/omapdss.h> | 27 | #include <video/omapdss.h> |
28 | #include <plat/omap_hwmod.h> | 28 | #include "omap_hwmod.h" |
29 | #include "omap_device.h" | 29 | #include "omap_device.h" |
30 | #include <plat/omap-pm.h> | 30 | #include <plat/omap-pm.h> |
31 | #include "common.h" | 31 | #include "common.h" |
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c index 7ddc6c90ed71..bc9a4e941e59 100644 --- a/arch/arm/mach-omap2/dma.c +++ b/arch/arm/mach-omap2/dma.c | |||
@@ -28,9 +28,9 @@ | |||
28 | #include <linux/init.h> | 28 | #include <linux/init.h> |
29 | #include <linux/device.h> | 29 | #include <linux/device.h> |
30 | 30 | ||
31 | #include <plat/omap_hwmod.h> | ||
32 | #include <plat-omap/dma-omap.h> | 31 | #include <plat-omap/dma-omap.h> |
33 | 32 | ||
33 | #include "omap_hwmod.h" | ||
34 | #include "omap_device.h" | 34 | #include "omap_device.h" |
35 | 35 | ||
36 | #define OMAP2_DMA_STRIDE 0x60 | 36 | #define OMAP2_DMA_STRIDE 0x60 |
diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c index 67991ea53ce7..6282cc826613 100644 --- a/arch/arm/mach-omap2/drm.c +++ b/arch/arm/mach-omap2/drm.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/dma-mapping.h> | 25 | #include <linux/dma-mapping.h> |
26 | 26 | ||
27 | #include "omap_device.h" | 27 | #include "omap_device.h" |
28 | #include <plat/omap_hwmod.h> | 28 | #include "omap_hwmod.h" |
29 | 29 | ||
30 | #if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE) | 30 | #if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE) |
31 | 31 | ||
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c index 2bd24671bcf6..80b1e1a05ce2 100644 --- a/arch/arm/mach-omap2/gpio.c +++ b/arch/arm/mach-omap2/gpio.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/of.h> | 23 | #include <linux/of.h> |
24 | #include <linux/platform_data/gpio-omap.h> | 24 | #include <linux/platform_data/gpio-omap.h> |
25 | 25 | ||
26 | #include <plat/omap_hwmod.h> | 26 | #include "omap_hwmod.h" |
27 | #include "omap_device.h" | 27 | #include "omap_device.h" |
28 | #include <plat/omap-pm.h> | 28 | #include <plat/omap-pm.h> |
29 | 29 | ||
diff --git a/arch/arm/mach-omap2/hdq1w.c b/arch/arm/mach-omap2/hdq1w.c index a533ce33d112..3da8900598c8 100644 --- a/arch/arm/mach-omap2/hdq1w.c +++ b/arch/arm/mach-omap2/hdq1w.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/err.h> | 27 | #include <linux/err.h> |
28 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
29 | 29 | ||
30 | #include <plat/omap_hwmod.h> | 30 | #include "omap_hwmod.h" |
31 | #include "omap_device.h" | 31 | #include "omap_device.h" |
32 | #include "hdq1w.h" | 32 | #include "hdq1w.h" |
33 | 33 | ||
diff --git a/arch/arm/mach-omap2/hdq1w.h b/arch/arm/mach-omap2/hdq1w.h index 0c1efc846d8d..c7e08d2a7a46 100644 --- a/arch/arm/mach-omap2/hdq1w.h +++ b/arch/arm/mach-omap2/hdq1w.h | |||
@@ -21,7 +21,7 @@ | |||
21 | #ifndef ARCH_ARM_MACH_OMAP2_HDQ1W_H | 21 | #ifndef ARCH_ARM_MACH_OMAP2_HDQ1W_H |
22 | #define ARCH_ARM_MACH_OMAP2_HDQ1W_H | 22 | #define ARCH_ARM_MACH_OMAP2_HDQ1W_H |
23 | 23 | ||
24 | #include <plat/omap_hwmod.h> | 24 | #include "omap_hwmod.h" |
25 | 25 | ||
26 | /* | 26 | /* |
27 | * XXX A future cleanup patch should modify | 27 | * XXX A future cleanup patch should modify |
diff --git a/arch/arm/mach-omap2/hwspinlock.c b/arch/arm/mach-omap2/hwspinlock.c index 58565214b428..1df9b5feda16 100644 --- a/arch/arm/mach-omap2/hwspinlock.c +++ b/arch/arm/mach-omap2/hwspinlock.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/err.h> | 21 | #include <linux/err.h> |
22 | #include <linux/hwspinlock.h> | 22 | #include <linux/hwspinlock.h> |
23 | 23 | ||
24 | #include <plat/omap_hwmod.h> | 24 | #include "omap_hwmod.h" |
25 | #include "omap_device.h" | 25 | #include "omap_device.h" |
26 | 26 | ||
27 | static struct hwspinlock_pdata omap_hwspinlock_pdata __initdata = { | 27 | static struct hwspinlock_pdata omap_hwspinlock_pdata __initdata = { |
diff --git a/arch/arm/mach-omap2/i2c.c b/arch/arm/mach-omap2/i2c.c index 84b0d9f25a7b..8b3993724a1b 100644 --- a/arch/arm/mach-omap2/i2c.c +++ b/arch/arm/mach-omap2/i2c.c | |||
@@ -20,7 +20,7 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "common.h" | 22 | #include "common.h" |
23 | #include <plat/omap_hwmod.h> | 23 | #include "omap_hwmod.h" |
24 | #include "omap_device.h" | 24 | #include "omap_device.h" |
25 | 25 | ||
26 | #include "mux.h" | 26 | #include "mux.h" |
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 0bc8f66c4b72..60dede839a35 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | #include <plat/serial.h> | 28 | #include <plat/serial.h> |
29 | #include <plat/omap-pm.h> | 29 | #include <plat/omap-pm.h> |
30 | #include <plat/omap_hwmod.h> | 30 | #include "omap_hwmod.h" |
31 | #include <plat/multi.h> | 31 | #include <plat/multi.h> |
32 | #include <plat-omap/dma-omap.h> | 32 | #include <plat-omap/dma-omap.h> |
33 | 33 | ||
diff --git a/arch/arm/mach-omap2/msdi.c b/arch/arm/mach-omap2/msdi.c index 46bf98a99180..627e97e30743 100644 --- a/arch/arm/mach-omap2/msdi.c +++ b/arch/arm/mach-omap2/msdi.c | |||
@@ -25,9 +25,9 @@ | |||
25 | #include <linux/err.h> | 25 | #include <linux/err.h> |
26 | #include <linux/platform_data/gpio-omap.h> | 26 | #include <linux/platform_data/gpio-omap.h> |
27 | 27 | ||
28 | #include <plat/omap_hwmod.h> | ||
29 | #include "common.h" | 28 | #include "common.h" |
30 | #include "control.h" | 29 | #include "control.h" |
30 | #include "omap_hwmod.h" | ||
31 | #include "omap_device.h" | 31 | #include "omap_device.h" |
32 | #include "mux.h" | 32 | #include "mux.h" |
33 | #include "mmc.h" | 33 | #include "mmc.h" |
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 701e17cba468..635d5ef9551c 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <linux/interrupt.h> | 36 | #include <linux/interrupt.h> |
37 | 37 | ||
38 | 38 | ||
39 | #include <plat/omap_hwmod.h> | 39 | #include "omap_hwmod.h" |
40 | 40 | ||
41 | #include "control.h" | 41 | #include "control.h" |
42 | #include "mux.h" | 42 | #include "mux.h" |
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c index e5fbcb53c7cc..2e6d33730b25 100644 --- a/arch/arm/mach-omap2/omap_device.c +++ b/arch/arm/mach-omap2/omap_device.c | |||
@@ -90,7 +90,7 @@ | |||
90 | #include <linux/notifier.h> | 90 | #include <linux/notifier.h> |
91 | 91 | ||
92 | #include "omap_device.h" | 92 | #include "omap_device.h" |
93 | #include <plat/omap_hwmod.h> | 93 | #include "omap_hwmod.h" |
94 | #include <plat/clock.h> | 94 | #include <plat/clock.h> |
95 | 95 | ||
96 | /* These parameters are passed to _omap_device_{de,}activate() */ | 96 | /* These parameters are passed to _omap_device_{de,}activate() */ |
diff --git a/arch/arm/mach-omap2/omap_device.h b/arch/arm/mach-omap2/omap_device.h index 106f50665804..0933c599bf89 100644 --- a/arch/arm/mach-omap2/omap_device.h +++ b/arch/arm/mach-omap2/omap_device.h | |||
@@ -34,7 +34,7 @@ | |||
34 | #include <linux/kernel.h> | 34 | #include <linux/kernel.h> |
35 | #include <linux/platform_device.h> | 35 | #include <linux/platform_device.h> |
36 | 36 | ||
37 | #include <plat/omap_hwmod.h> | 37 | #include "omap_hwmod.h" |
38 | 38 | ||
39 | extern struct dev_pm_domain omap_device_pm_domain; | 39 | extern struct dev_pm_domain omap_device_pm_domain; |
40 | 40 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index b969ab1d258b..3dc482a1a75f 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -140,7 +140,7 @@ | |||
140 | #include <linux/bootmem.h> | 140 | #include <linux/bootmem.h> |
141 | 141 | ||
142 | #include <plat/clock.h> | 142 | #include <plat/clock.h> |
143 | #include <plat/omap_hwmod.h> | 143 | #include "omap_hwmod.h" |
144 | #include <plat/prcm.h> | 144 | #include <plat/prcm.h> |
145 | 145 | ||
146 | #include "soc.h" | 146 | #include "soc.h" |
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h index b3349f7b1a2c..b3349f7b1a2c 100644 --- a/arch/arm/plat-omap/include/plat/omap_hwmod.h +++ b/arch/arm/mach-omap2/omap_hwmod.h | |||
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c b/arch/arm/mach-omap2/omap_hwmod_2420_data.c index 95a0053b6ae1..3efed3d633d1 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c | |||
@@ -16,9 +16,10 @@ | |||
16 | #include <linux/i2c-omap.h> | 16 | #include <linux/i2c-omap.h> |
17 | #include <linux/platform_data/spi-omap2-mcspi.h> | 17 | #include <linux/platform_data/spi-omap2-mcspi.h> |
18 | 18 | ||
19 | #include <plat/omap_hwmod.h> | ||
20 | #include <plat-omap/dma-omap.h> | 19 | #include <plat-omap/dma-omap.h> |
21 | #include <plat/dmtimer.h> | 20 | #include <plat/dmtimer.h> |
21 | |||
22 | #include "omap_hwmod.h" | ||
22 | #include "l3_2xxx.h" | 23 | #include "l3_2xxx.h" |
23 | #include "l4_2xxx.h" | 24 | #include "l4_2xxx.h" |
24 | 25 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c b/arch/arm/mach-omap2/omap_hwmod_2430_data.c index a6c24aea28b6..dc768c50e523 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2430_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2430_data.c | |||
@@ -17,9 +17,10 @@ | |||
17 | #include <linux/platform_data/asoc-ti-mcbsp.h> | 17 | #include <linux/platform_data/asoc-ti-mcbsp.h> |
18 | #include <linux/platform_data/spi-omap2-mcspi.h> | 18 | #include <linux/platform_data/spi-omap2-mcspi.h> |
19 | 19 | ||
20 | #include <plat/omap_hwmod.h> | ||
21 | #include <plat-omap/dma-omap.h> | 20 | #include <plat-omap/dma-omap.h> |
22 | #include <plat/dmtimer.h> | 21 | #include <plat/dmtimer.h> |
22 | |||
23 | #include "omap_hwmod.h" | ||
23 | #include "mmc.h" | 24 | #include "mmc.h" |
24 | #include "l3_2xxx.h" | 25 | #include "l3_2xxx.h" |
25 | 26 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c index cbb4ef6544ad..74ae76767510 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c | |||
@@ -13,9 +13,10 @@ | |||
13 | */ | 13 | */ |
14 | #include <asm/sizes.h> | 14 | #include <asm/sizes.h> |
15 | 15 | ||
16 | #include <plat/omap_hwmod.h> | ||
17 | #include <plat/serial.h> | 16 | #include <plat/serial.h> |
18 | 17 | ||
18 | #include "omap_hwmod.h" | ||
19 | |||
19 | #include "omap_hwmod_common_data.h" | 20 | #include "omap_hwmod_common_data.h" |
20 | 21 | ||
21 | struct omap_hwmod_addr_space omap2430_mmc1_addr_space[] = { | 22 | struct omap_hwmod_addr_space omap2430_mmc1_addr_space[] = { |
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c index bfe64ee20606..57fc2f95584d 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c | |||
@@ -9,10 +9,13 @@ | |||
9 | * it under the terms of the GNU General Public License version 2 as | 9 | * it under the terms of the GNU General Public License version 2 as |
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | #include <plat/omap_hwmod.h> | 12 | |
13 | #include <plat/serial.h> | 13 | #include <plat/serial.h> |
14 | #include <plat-omap/dma-omap.h> | 14 | #include <plat-omap/dma-omap.h> |
15 | |||
15 | #include "../plat-omap/common.h" | 16 | #include "../plat-omap/common.h" |
17 | |||
18 | #include "omap_hwmod.h" | ||
16 | #include "hdq1w.h" | 19 | #include "hdq1w.h" |
17 | 20 | ||
18 | #include "omap_hwmod_common_data.h" | 21 | #include "omap_hwmod_common_data.h" |
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c index 1a1287d62648..dd3809c8f409 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c | |||
@@ -13,8 +13,9 @@ | |||
13 | */ | 13 | */ |
14 | #include <asm/sizes.h> | 14 | #include <asm/sizes.h> |
15 | 15 | ||
16 | #include <plat/omap_hwmod.h> | ||
17 | #include <plat/serial.h> | 16 | #include <plat/serial.h> |
17 | |||
18 | #include "omap_hwmod.h" | ||
18 | #include "l3_2xxx.h" | 19 | #include "l3_2xxx.h" |
19 | #include "l4_2xxx.h" | 20 | #include "l4_2xxx.h" |
20 | 21 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c index b9024868774c..27bdff46fda0 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | |||
@@ -8,13 +8,14 @@ | |||
8 | * it under the terms of the GNU General Public License version 2 as | 8 | * it under the terms of the GNU General Public License version 2 as |
9 | * published by the Free Software Foundation. | 9 | * published by the Free Software Foundation. |
10 | */ | 10 | */ |
11 | #include <plat/omap_hwmod.h> | 11 | |
12 | #include <plat/serial.h> | 12 | #include <plat/serial.h> |
13 | #include <linux/platform_data/gpio-omap.h> | 13 | #include <linux/platform_data/gpio-omap.h> |
14 | #include <plat-omap/dma-omap.h> | 14 | #include <plat-omap/dma-omap.h> |
15 | #include <plat/dmtimer.h> | 15 | #include <plat/dmtimer.h> |
16 | #include <linux/platform_data/spi-omap2-mcspi.h> | 16 | #include <linux/platform_data/spi-omap2-mcspi.h> |
17 | 17 | ||
18 | #include "omap_hwmod.h" | ||
18 | #include "omap_hwmod_common_data.h" | 19 | #include "omap_hwmod_common_data.h" |
19 | #include "cm-regbits-24xx.h" | 20 | #include "cm-regbits-24xx.h" |
20 | #include "prm-regbits-24xx.h" | 21 | #include "prm-regbits-24xx.h" |
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c index cb7c393c08de..60ed43531079 100644 --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include <linux/i2c-omap.h> | 17 | #include <linux/i2c-omap.h> |
18 | 18 | ||
19 | #include <plat/omap_hwmod.h> | 19 | #include "omap_hwmod.h" |
20 | #include <plat/cpu.h> | 20 | #include <plat/cpu.h> |
21 | #include <linux/platform_data/gpio-omap.h> | 21 | #include <linux/platform_data/gpio-omap.h> |
22 | #include <linux/platform_data/spi-omap2-mcspi.h> | 22 | #include <linux/platform_data/spi-omap2-mcspi.h> |
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index 14451217dac2..d5d52a776278 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -19,9 +19,9 @@ | |||
19 | #include <linux/power/smartreflex.h> | 19 | #include <linux/power/smartreflex.h> |
20 | #include <linux/platform_data/gpio-omap.h> | 20 | #include <linux/platform_data/gpio-omap.h> |
21 | 21 | ||
22 | #include <plat/omap_hwmod.h> | ||
23 | #include <plat-omap/dma-omap.h> | 22 | #include <plat-omap/dma-omap.h> |
24 | #include <plat/serial.h> | 23 | #include <plat/serial.h> |
24 | |||
25 | #include "l3_3xxx.h" | 25 | #include "l3_3xxx.h" |
26 | #include "l4_3xxx.h" | 26 | #include "l4_3xxx.h" |
27 | #include <linux/platform_data/asoc-ti-mcbsp.h> | 27 | #include <linux/platform_data/asoc-ti-mcbsp.h> |
@@ -32,6 +32,7 @@ | |||
32 | #include "am35xx.h" | 32 | #include "am35xx.h" |
33 | 33 | ||
34 | #include "soc.h" | 34 | #include "soc.h" |
35 | #include "omap_hwmod.h" | ||
35 | #include "omap_hwmod_common_data.h" | 36 | #include "omap_hwmod_common_data.h" |
36 | #include "prm-regbits-34xx.h" | 37 | #include "prm-regbits-34xx.h" |
37 | #include "cm-regbits-34xx.h" | 38 | #include "cm-regbits-34xx.h" |
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index 0cee55135e29..5b9be734709c 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c | |||
@@ -23,8 +23,8 @@ | |||
23 | #include <linux/power/smartreflex.h> | 23 | #include <linux/power/smartreflex.h> |
24 | #include <linux/i2c-omap.h> | 24 | #include <linux/i2c-omap.h> |
25 | 25 | ||
26 | #include <plat/omap_hwmod.h> | ||
27 | #include <plat-omap/dma-omap.h> | 26 | #include <plat-omap/dma-omap.h> |
27 | |||
28 | #include <linux/platform_data/spi-omap2-mcspi.h> | 28 | #include <linux/platform_data/spi-omap2-mcspi.h> |
29 | #include <linux/platform_data/asoc-ti-mcbsp.h> | 29 | #include <linux/platform_data/asoc-ti-mcbsp.h> |
30 | #include <plat/dmtimer.h> | 30 | #include <plat/dmtimer.h> |
@@ -32,6 +32,7 @@ | |||
32 | 32 | ||
33 | #include "../plat-omap/common.h" | 33 | #include "../plat-omap/common.h" |
34 | 34 | ||
35 | #include "omap_hwmod.h" | ||
35 | #include "omap_hwmod_common_data.h" | 36 | #include "omap_hwmod_common_data.h" |
36 | #include "cm1_44xx.h" | 37 | #include "cm1_44xx.h" |
37 | #include "cm2_44xx.h" | 38 | #include "cm2_44xx.h" |
diff --git a/arch/arm/mach-omap2/omap_hwmod_common_data.c b/arch/arm/mach-omap2/omap_hwmod_common_data.c index 9f1ccdc8cc8c..79d623b83e49 100644 --- a/arch/arm/mach-omap2/omap_hwmod_common_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_common_data.c | |||
@@ -16,7 +16,7 @@ | |||
16 | * data and their integration with other OMAP modules and Linux. | 16 | * data and their integration with other OMAP modules and Linux. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <plat/omap_hwmod.h> | 19 | #include "omap_hwmod.h" |
20 | 20 | ||
21 | #include "omap_hwmod_common_data.h" | 21 | #include "omap_hwmod_common_data.h" |
22 | 22 | ||
diff --git a/arch/arm/mach-omap2/omap_hwmod_common_data.h b/arch/arm/mach-omap2/omap_hwmod_common_data.h index 2bc8f1705d4a..cfcce299177c 100644 --- a/arch/arm/mach-omap2/omap_hwmod_common_data.h +++ b/arch/arm/mach-omap2/omap_hwmod_common_data.h | |||
@@ -13,7 +13,7 @@ | |||
13 | #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H | 13 | #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H |
14 | #define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H | 14 | #define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H |
15 | 15 | ||
16 | #include <plat/omap_hwmod.h> | 16 | #include "omap_hwmod.h" |
17 | 17 | ||
18 | #include "common.h" | 18 | #include "common.h" |
19 | #include "display.h" | 19 | #include "display.h" |
diff --git a/arch/arm/mach-omap2/omap_opp_data.h b/arch/arm/mach-omap2/omap_opp_data.h index c784c12f98a1..7e437bf6024c 100644 --- a/arch/arm/mach-omap2/omap_opp_data.h +++ b/arch/arm/mach-omap2/omap_opp_data.h | |||
@@ -19,7 +19,7 @@ | |||
19 | #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_OPP_DATA_H | 19 | #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_OPP_DATA_H |
20 | #define __ARCH_ARM_MACH_OMAP2_OMAP_OPP_DATA_H | 20 | #define __ARCH_ARM_MACH_OMAP2_OMAP_OPP_DATA_H |
21 | 21 | ||
22 | #include <plat/omap_hwmod.h> | 22 | #include "omap_hwmod.h" |
23 | 23 | ||
24 | #include "voltage.h" | 24 | #include "voltage.h" |
25 | 25 | ||
diff --git a/arch/arm/mach-omap2/pmu.c b/arch/arm/mach-omap2/pmu.c index 4b3230fe228a..98c5969acf6d 100644 --- a/arch/arm/mach-omap2/pmu.c +++ b/arch/arm/mach-omap2/pmu.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/pmu.h> | 16 | #include <asm/pmu.h> |
17 | 17 | ||
18 | #include <plat/omap_hwmod.h> | 18 | #include "omap_hwmod.h" |
19 | #include "omap_device.h" | 19 | #include "omap_device.h" |
20 | 20 | ||
21 | static char *omap2_pmu_oh_names[] = {"mpu"}; | 21 | static char *omap2_pmu_oh_names[] = {"mpu"}; |
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 5df6dd96fd5c..a4fb791be2da 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -28,13 +28,13 @@ | |||
28 | #include <linux/console.h> | 28 | #include <linux/console.h> |
29 | 29 | ||
30 | #include <plat/omap-serial.h> | 30 | #include <plat/omap-serial.h> |
31 | #include "common.h" | ||
32 | #include <plat-omap/dma-omap.h> | 31 | #include <plat-omap/dma-omap.h> |
33 | #include <plat/omap_hwmod.h> | ||
34 | #include "omap_device.h" | ||
35 | #include <plat/omap-pm.h> | 32 | #include <plat/omap-pm.h> |
36 | #include <plat/serial.h> | 33 | #include <plat/serial.h> |
37 | 34 | ||
35 | #include "common.h" | ||
36 | #include "omap_hwmod.h" | ||
37 | #include "omap_device.h" | ||
38 | #include "prm2xxx_3xxx.h" | 38 | #include "prm2xxx_3xxx.h" |
39 | #include "pm.h" | 39 | #include "pm.h" |
40 | #include "cm2xxx_3xxx.h" | 40 | #include "cm2xxx_3xxx.h" |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index a2ea2f30f7c9..b11df8230145 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <asm/sched_clock.h> | 43 | #include <asm/sched_clock.h> |
44 | 44 | ||
45 | #include <asm/arch_timer.h> | 45 | #include <asm/arch_timer.h> |
46 | #include <plat/omap_hwmod.h> | 46 | #include "omap_hwmod.h" |
47 | #include "omap_device.h" | 47 | #include "omap_device.h" |
48 | #include <plat/dmtimer.h> | 48 | #include <plat/dmtimer.h> |
49 | #include <plat/omap-pm.h> | 49 | #include <plat/omap-pm.h> |
diff --git a/arch/arm/mach-omap2/wd_timer.c b/arch/arm/mach-omap2/wd_timer.c index b2f1c67043a2..f6b6c37ac3f4 100644 --- a/arch/arm/mach-omap2/wd_timer.c +++ b/arch/arm/mach-omap2/wd_timer.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <linux/io.h> | 11 | #include <linux/io.h> |
12 | #include <linux/err.h> | 12 | #include <linux/err.h> |
13 | 13 | ||
14 | #include <plat/omap_hwmod.h> | 14 | #include "omap_hwmod.h" |
15 | 15 | ||
16 | #include "wd_timer.h" | 16 | #include "wd_timer.h" |
17 | #include "common.h" | 17 | #include "common.h" |
diff --git a/arch/arm/mach-omap2/wd_timer.h b/arch/arm/mach-omap2/wd_timer.h index f6bbba73b535..a78f81034a9f 100644 --- a/arch/arm/mach-omap2/wd_timer.h +++ b/arch/arm/mach-omap2/wd_timer.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifndef __ARCH_ARM_MACH_OMAP2_WD_TIMER_H | 10 | #ifndef __ARCH_ARM_MACH_OMAP2_WD_TIMER_H |
11 | #define __ARCH_ARM_MACH_OMAP2_WD_TIMER_H | 11 | #define __ARCH_ARM_MACH_OMAP2_WD_TIMER_H |
12 | 12 | ||
13 | #include <plat/omap_hwmod.h> | 13 | #include "omap_hwmod.h" |
14 | 14 | ||
15 | extern int omap2_wd_timer_disable(struct omap_hwmod *oh); | 15 | extern int omap2_wd_timer_disable(struct omap_hwmod *oh); |
16 | extern int omap2_wd_timer_reset(struct omap_hwmod *oh); | 16 | extern int omap2_wd_timer_reset(struct omap_hwmod *oh); |