Skip to content

Commit

Permalink
ARM: OMAP: Make plat/omap-pm.h local to mach-omap2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lindgren committed Oct 18, 2012
1 parent dc84328 commit 1d5aef4
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 17 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-omap1/pm_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/board-rx51-peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -51,6 +50,7 @@
#endif

#include "mux.h"
#include "omap-pm.h"
#include "hsmmc.h"
#include "common-board-devices.h"
#include "gpmc.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/dsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "omap_hwmod.h"
#include "omap_device.h"
#include <plat/omap-pm.h>
#include "omap-pm.h"

#include "powerdomain.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/hsmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -42,6 +41,7 @@
#include "clock2xxx.h"
#include "clock3xxx.h"
#include "clock44xx.h"
#include "omap-pm.h"
#include "sdrc.h"

/*
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/pm-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@

#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"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/plat-omap/dmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@
#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);
Expand Down
4 changes: 1 addition & 3 deletions arch/arm/plat-omap/omap-pm-noop.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@
#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;
Expand Down
1 change: 0 additions & 1 deletion drivers/media/rc/ir-rx51.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1d5aef4

Please sign in to comment.