]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP: Make plat/omap-pm.h local to mach-omap2
authorTony Lindgren <tony@atomide.com>
Wed, 3 Oct 2012 23:36:40 +0000 (16:36 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 18 Oct 2012 23:22:08 +0000 (16:22 -0700)
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>
15 files changed:
arch/arm/mach-omap1/pm_bus.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/display.c
arch/arm/mach-omap2/dsp.c
arch/arm/mach-omap2/gpio.c
arch/arm/mach-omap2/hsmmc.c
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap-pm.h [moved from arch/arm/plat-omap/include/plat/omap-pm.h with 100% similarity]
arch/arm/mach-omap2/pm-debug.c
arch/arm/mach-omap2/pm.c
arch/arm/mach-omap2/serial.c
arch/arm/mach-omap2/timer.c
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/omap-pm-noop.c
drivers/media/rc/ir-rx51.c

index 8a74ec5e3de26625ddd995ec2a877bc52b5d4ac5..16bf2f95117c0749536da344d729c2f920949b45 100644 (file)
@@ -19,8 +19,6 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 
-#include <plat/omap-pm.h>
-
 #ifdef CONFIG_PM_RUNTIME
 static int omap1_pm_runtime_suspend(struct device *dev)
 {
index c2eed847c05b7d11484a2fab4f5a092b8831ebef..07005fe40a2a65eecc529ea9d06fee342ff26150 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "common.h"
 #include <plat-omap/dma-omap.h>
-#include <plat/omap-pm.h>
 #include "gpmc-smc91x.h"
 
 #include "board-rx51.h"
@@ -51,6 +50,7 @@
 #endif
 
 #include "mux.h"
+#include "omap-pm.h"
 #include "hsmmc.h"
 #include "common-board-devices.h"
 #include "gpmc.h"
index 815af41c437586d4b90315a55da941ee5e25fec3..9aaaf4e03ca38636634d96e0d62f7ecefacc9bb9 100644 (file)
@@ -27,7 +27,7 @@
 #include <video/omapdss.h>
 #include "omap_hwmod.h"
 #include "omap_device.h"
-#include <plat/omap-pm.h>
+#include "omap-pm.h"
 #include "common.h"
 
 #include "iomap.h"
index 98388109f22afd91363428c7410dfb5687c79dc5..b155500e84a8e12dc5eeb6b6d3844d7b2fe6b122 100644 (file)
@@ -27,7 +27,7 @@
 #include "cm2xxx_3xxx.h"
 #include "prm2xxx_3xxx.h"
 #ifdef CONFIG_BRIDGE_DVFS
-#include <plat/omap-pm.h>
+#include "omap-pm.h"
 #endif
 
 #include <linux/platform_data/dsp-omap.h>
index 80b1e1a05ce2685a651fba941eb3dd0e256ac6df..399acabc3d0b96006641e30593fb4d586ad00737 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "omap_hwmod.h"
 #include "omap_device.h"
-#include <plat/omap-pm.h>
+#include "omap-pm.h"
 
 #include "powerdomain.h"
 
index 797e8c6a41303c4e872a685139a27eea4e35a0ef..ddbf2eb6ba5b64eced5d6a86f20cf35c741567b6 100644 (file)
@@ -17,8 +17,8 @@
 #include <mach/hardware.h>
 #include <linux/platform_data/gpio-omap.h>
 
-#include <plat/omap-pm.h>
 #include "omap_device.h"
+#include "omap-pm.h"
 
 #include "mux.h"
 #include "mmc.h"
index b373cb59845c91d1069f52b6a3d3b6024515e487..80d1cf17af8c661efbdfa690f41754722094588c 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/mach/map.h>
 
 #include <plat/serial.h>
-#include <plat/omap-pm.h>
 #include <plat-omap/dma-omap.h>
 
 #include "../plat-omap/sram.h"
@@ -42,6 +41,7 @@
 #include "clock2xxx.h"
 #include "clock3xxx.h"
 #include "clock44xx.h"
+#include "omap-pm.h"
 #include "sdrc.h"
 
 /*
index 46092cd806fae24d14b90829c163190579104a05..b91283edf4151dc94c21aa20fe7c4ec306558448 100644 (file)
@@ -31,7 +31,7 @@
 #include "powerdomain.h"
 #include "clockdomain.h"
 #include <plat/dmtimer.h>
-#include <plat/omap-pm.h>
+#include "omap-pm.h"
 
 #include "cm2xxx_3xxx.h"
 #include "prm2xxx_3xxx.h"
index 4f749a1e3aa2b207dd7159be525d681cd86bd960..e66855ef4c78fae5d42b52875f79c379cf394d70 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <asm/system_misc.h>
 
-#include <plat/omap-pm.h>
+#include "omap-pm.h"
 #include "omap_device.h"
 #include "common.h"
 
index a4fb791be2da649591dc3c61ed3c26f45b3af079..a3da4654de97954e0ee312488ffe111f0b6e905d 100644 (file)
 
 #include <plat/omap-serial.h>
 #include <plat-omap/dma-omap.h>
-#include <plat/omap-pm.h>
 #include <plat/serial.h>
 
 #include "common.h"
 #include "omap_hwmod.h"
 #include "omap_device.h"
+#include "omap-pm.h"
 #include "prm2xxx_3xxx.h"
 #include "pm.h"
 #include "cm2xxx_3xxx.h"
index b11df8230145a96ca3856232448f18be04246759..45598ac819be13cce8c9ee1ae5611aa449954cc4 100644 (file)
@@ -46,7 +46,7 @@
 #include "omap_hwmod.h"
 #include "omap_device.h"
 #include <plat/dmtimer.h>
-#include <plat/omap-pm.h>
+#include "omap-pm.h"
 
 #include "soc.h"
 #include "common.h"
index 938b50a33439b092202de715e81267b18b5f73cb..4a0b30a4ebda90fb81a1d4c3518626dd6192a86f 100644 (file)
 #include <linux/pm_runtime.h>
 
 #include <plat/dmtimer.h>
-#include <plat/omap-pm.h>
 
 #include <mach/hardware.h>
 
+#include "../mach-omap2/omap-pm.h"
+
 static u32 omap_reserved_systimers;
 static LIST_HEAD(omap_timer_list);
 static DEFINE_SPINLOCK(dm_timer_lock);
index 3c96b567370ef4ad8c884ffb971adbd3e5cf9d56..198685b894b02174c63e70d854fb02090e630819 100644 (file)
 #include <linux/device.h>
 #include <linux/platform_device.h>
 
-/* Interface documentation is in mach/omap-pm.h */
-#include <plat/omap-pm.h>
-
 #include "../mach-omap2/omap_device.h"
+#include "../mach-omap2/omap-pm.h"
 
 static bool off_mode_enabled;
 static int dummy_context_loss_counter;
index 546199e9ccc7268f1600a7bc89415b96b10566f2..82e6c1e282d5e6a72784f1fa57489553d4d82e9b 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <plat/dmtimer.h>
 #include <plat/clock.h>
-#include <plat/omap-pm.h>
 
 #include <media/lirc.h>
 #include <media/lirc_dev.h>