diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-03 19:36:40 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-18 19:22:08 -0400 |
commit | 1d5aef4950717526d4827e97a916d38d0d73657e (patch) | |
tree | 8639e16a1debc85c0c96de402616c5c4510ddec8 /arch | |
parent | dc843280c954877b8a196e59a9f92cd8b94c2d25 (diff) |
ARM: OMAP: Make plat/omap-pm.h local to mach-omap2
We must move this for ARM common zImage support.
Note that neither drivers/media/rc/ir-rx51.c or
drivers/media/platform/omap3isp/ispvideo.c need
to include omap-pm.h, so this patch removes the
include for those files.
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Timo Kokkonen <timo.t.kokkonen@iki.fi>
Cc: linux-media@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap1/pm_bus.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/display.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/dsp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/gpio.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/hsmmc.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/io.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap-pm.h (renamed from arch/arm/plat-omap/include/plat/omap-pm.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-omap2/pm-debug.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/dmtimer.c | 3 | ||||
-rw-r--r-- | arch/arm/plat-omap/omap-pm-noop.c | 4 |
14 files changed, 13 insertions, 16 deletions
diff --git a/arch/arm/mach-omap1/pm_bus.c b/arch/arm/mach-omap1/pm_bus.c index 8a74ec5e3de2..16bf2f95117c 100644 --- a/arch/arm/mach-omap1/pm_bus.c +++ b/arch/arm/mach-omap1/pm_bus.c | |||
@@ -19,8 +19,6 @@ | |||
19 | #include <linux/clk.h> | 19 | #include <linux/clk.h> |
20 | #include <linux/err.h> | 20 | #include <linux/err.h> |
21 | 21 | ||
22 | #include <plat/omap-pm.h> | ||
23 | |||
24 | #ifdef CONFIG_PM_RUNTIME | 22 | #ifdef CONFIG_PM_RUNTIME |
25 | static int omap1_pm_runtime_suspend(struct device *dev) | 23 | static int omap1_pm_runtime_suspend(struct device *dev) |
26 | { | 24 | { |
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index c2eed847c05b..07005fe40a2a 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -32,7 +32,6 @@ | |||
32 | 32 | ||
33 | #include "common.h" | 33 | #include "common.h" |
34 | #include <plat-omap/dma-omap.h> | 34 | #include <plat-omap/dma-omap.h> |
35 | #include <plat/omap-pm.h> | ||
36 | #include "gpmc-smc91x.h" | 35 | #include "gpmc-smc91x.h" |
37 | 36 | ||
38 | #include "board-rx51.h" | 37 | #include "board-rx51.h" |
@@ -51,6 +50,7 @@ | |||
51 | #endif | 50 | #endif |
52 | 51 | ||
53 | #include "mux.h" | 52 | #include "mux.h" |
53 | #include "omap-pm.h" | ||
54 | #include "hsmmc.h" | 54 | #include "hsmmc.h" |
55 | #include "common-board-devices.h" | 55 | #include "common-board-devices.h" |
56 | #include "gpmc.h" | 56 | #include "gpmc.h" |
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 815af41c4375..9aaaf4e03ca3 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <video/omapdss.h> | 27 | #include <video/omapdss.h> |
28 | #include "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 "omap-pm.h" |
31 | #include "common.h" | 31 | #include "common.h" |
32 | 32 | ||
33 | #include "iomap.h" | 33 | #include "iomap.h" |
diff --git a/arch/arm/mach-omap2/dsp.c b/arch/arm/mach-omap2/dsp.c index 98388109f22a..b155500e84a8 100644 --- a/arch/arm/mach-omap2/dsp.c +++ b/arch/arm/mach-omap2/dsp.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include "cm2xxx_3xxx.h" | 27 | #include "cm2xxx_3xxx.h" |
28 | #include "prm2xxx_3xxx.h" | 28 | #include "prm2xxx_3xxx.h" |
29 | #ifdef CONFIG_BRIDGE_DVFS | 29 | #ifdef CONFIG_BRIDGE_DVFS |
30 | #include <plat/omap-pm.h> | 30 | #include "omap-pm.h" |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #include <linux/platform_data/dsp-omap.h> | 33 | #include <linux/platform_data/dsp-omap.h> |
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c index 80b1e1a05ce2..399acabc3d0b 100644 --- a/arch/arm/mach-omap2/gpio.c +++ b/arch/arm/mach-omap2/gpio.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | #include "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 "omap-pm.h" |
29 | 29 | ||
30 | #include "powerdomain.h" | 30 | #include "powerdomain.h" |
31 | 31 | ||
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index 797e8c6a4130..ddbf2eb6ba5b 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c | |||
@@ -17,8 +17,8 @@ | |||
17 | #include <mach/hardware.h> | 17 | #include <mach/hardware.h> |
18 | #include <linux/platform_data/gpio-omap.h> | 18 | #include <linux/platform_data/gpio-omap.h> |
19 | 19 | ||
20 | #include <plat/omap-pm.h> | ||
21 | #include "omap_device.h" | 20 | #include "omap_device.h" |
21 | #include "omap-pm.h" | ||
22 | 22 | ||
23 | #include "mux.h" | 23 | #include "mux.h" |
24 | #include "mmc.h" | 24 | #include "mmc.h" |
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index b373cb59845c..80d1cf17af8c 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <asm/mach/map.h> | 26 | #include <asm/mach/map.h> |
27 | 27 | ||
28 | #include <plat/serial.h> | 28 | #include <plat/serial.h> |
29 | #include <plat/omap-pm.h> | ||
30 | #include <plat-omap/dma-omap.h> | 29 | #include <plat-omap/dma-omap.h> |
31 | 30 | ||
32 | #include "../plat-omap/sram.h" | 31 | #include "../plat-omap/sram.h" |
@@ -42,6 +41,7 @@ | |||
42 | #include "clock2xxx.h" | 41 | #include "clock2xxx.h" |
43 | #include "clock3xxx.h" | 42 | #include "clock3xxx.h" |
44 | #include "clock44xx.h" | 43 | #include "clock44xx.h" |
44 | #include "omap-pm.h" | ||
45 | #include "sdrc.h" | 45 | #include "sdrc.h" |
46 | 46 | ||
47 | /* | 47 | /* |
diff --git a/arch/arm/plat-omap/include/plat/omap-pm.h b/arch/arm/mach-omap2/omap-pm.h index 67faa7b8fe92..67faa7b8fe92 100644 --- a/arch/arm/plat-omap/include/plat/omap-pm.h +++ b/arch/arm/mach-omap2/omap-pm.h | |||
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 46092cd806fa..b91283edf415 100644 --- a/arch/arm/mach-omap2/pm-debug.c +++ b/arch/arm/mach-omap2/pm-debug.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "powerdomain.h" | 31 | #include "powerdomain.h" |
32 | #include "clockdomain.h" | 32 | #include "clockdomain.h" |
33 | #include <plat/dmtimer.h> | 33 | #include <plat/dmtimer.h> |
34 | #include <plat/omap-pm.h> | 34 | #include "omap-pm.h" |
35 | 35 | ||
36 | #include "cm2xxx_3xxx.h" | 36 | #include "cm2xxx_3xxx.h" |
37 | #include "prm2xxx_3xxx.h" | 37 | #include "prm2xxx_3xxx.h" |
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 4f749a1e3aa2..e66855ef4c78 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include <asm/system_misc.h> | 21 | #include <asm/system_misc.h> |
22 | 22 | ||
23 | #include <plat/omap-pm.h> | 23 | #include "omap-pm.h" |
24 | #include "omap_device.h" | 24 | #include "omap_device.h" |
25 | #include "common.h" | 25 | #include "common.h" |
26 | 26 | ||
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index a4fb791be2da..a3da4654de97 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -29,12 +29,12 @@ | |||
29 | 29 | ||
30 | #include <plat/omap-serial.h> | 30 | #include <plat/omap-serial.h> |
31 | #include <plat-omap/dma-omap.h> | 31 | #include <plat-omap/dma-omap.h> |
32 | #include <plat/omap-pm.h> | ||
33 | #include <plat/serial.h> | 32 | #include <plat/serial.h> |
34 | 33 | ||
35 | #include "common.h" | 34 | #include "common.h" |
36 | #include "omap_hwmod.h" | 35 | #include "omap_hwmod.h" |
37 | #include "omap_device.h" | 36 | #include "omap_device.h" |
37 | #include "omap-pm.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 b11df8230145..45598ac819be 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include "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 "omap-pm.h" |
50 | 50 | ||
51 | #include "soc.h" | 51 | #include "soc.h" |
52 | #include "common.h" | 52 | #include "common.h" |
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index 938b50a33439..4a0b30a4ebda 100644 --- a/arch/arm/plat-omap/dmtimer.c +++ b/arch/arm/plat-omap/dmtimer.c | |||
@@ -42,10 +42,11 @@ | |||
42 | #include <linux/pm_runtime.h> | 42 | #include <linux/pm_runtime.h> |
43 | 43 | ||
44 | #include <plat/dmtimer.h> | 44 | #include <plat/dmtimer.h> |
45 | #include <plat/omap-pm.h> | ||
46 | 45 | ||
47 | #include <mach/hardware.h> | 46 | #include <mach/hardware.h> |
48 | 47 | ||
48 | #include "../mach-omap2/omap-pm.h" | ||
49 | |||
49 | static u32 omap_reserved_systimers; | 50 | static u32 omap_reserved_systimers; |
50 | static LIST_HEAD(omap_timer_list); | 51 | static LIST_HEAD(omap_timer_list); |
51 | static DEFINE_SPINLOCK(dm_timer_lock); | 52 | static DEFINE_SPINLOCK(dm_timer_lock); |
diff --git a/arch/arm/plat-omap/omap-pm-noop.c b/arch/arm/plat-omap/omap-pm-noop.c index 3c96b567370e..198685b894b0 100644 --- a/arch/arm/plat-omap/omap-pm-noop.c +++ b/arch/arm/plat-omap/omap-pm-noop.c | |||
@@ -22,10 +22,8 @@ | |||
22 | #include <linux/device.h> | 22 | #include <linux/device.h> |
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | 24 | ||
25 | /* Interface documentation is in mach/omap-pm.h */ | ||
26 | #include <plat/omap-pm.h> | ||
27 | |||
28 | #include "../mach-omap2/omap_device.h" | 25 | #include "../mach-omap2/omap_device.h" |
26 | #include "../mach-omap2/omap-pm.h" | ||
29 | 27 | ||
30 | static bool off_mode_enabled; | 28 | static bool off_mode_enabled; |
31 | static int dummy_context_loss_counter; | 29 | static int dummy_context_loss_counter; |