#include <linux/clk.h>
#include <linux/err.h>
-#include <plat/omap_device.h>
#include <plat/omap-pm.h>
#ifdef CONFIG_PM_RUNTIME
# Common support
obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \
- common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o
+ common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
+ omap_device.o
# INTCPS IP block support - XXX should be moved to drivers/
obj-$(CONFIG_ARCH_OMAP2) += irq.o
#include <linux/err.h>
#include <linux/davinci_emac.h>
#include <asm/system.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "am35xx.h"
#include "control.h"
#include "am35xx-emac.h"
#include "gpmc.h"
#include <linux/platform_data/mtd-nand-omap2.h>
#include <plat/usb.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "mux.h"
#include "hsmmc.h"
#include "iomap.h"
#include <plat-omap/dma-omap.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "omap4-keypad.h"
#include "soc.h"
#include <video/omapdss.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include <plat/omap-pm.h>
#include "common.h"
#include <linux/device.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
#include <plat-omap/dma-omap.h>
+#include "omap_device.h"
+
#define OMAP2_DMA_STRIDE 0x60
static u32 errata;
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include <plat/omap_hwmod.h>
#if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE)
#include <linux/platform_data/gpio-omap.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include <plat/omap-pm.h>
#include "powerdomain.h"
#include <asm/mach-types.h>
#include <plat/cpu.h>
-#include <plat/omap_device.h>
#include "soc.h"
#include "common.h"
+#include "omap_device.h"
#include "gpmc.h"
#define DEVICE_NAME "omap-gpmc"
#include <linux/platform_device.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "hdq1w.h"
#include "common.h"
#include <linux/platform_data/gpio-omap.h>
#include <plat/omap-pm.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "mux.h"
#include "mmc.h"
#include <linux/hwspinlock.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
static struct hwspinlock_pdata omap_hwspinlock_pdata __initdata = {
.base_id = 0,
#include "common.h"
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "mux.h"
#include "i2c.h"
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/platform_data/asoc-ti-mcbsp.h>
+#include <linux/pm_runtime.h>
#include <plat-omap/dma-omap.h>
-#include <plat/omap_device.h>
-#include <linux/pm_runtime.h>
+
+#include "omap_device.h"
/*
* FIXME: Find a mechanism to enable/disable runtime the McBSP ICLK autoidle.
#include <linux/platform_data/gpio-omap.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
-
#include "common.h"
#include "control.h"
+#include "omap_device.h"
#include "mux.h"
#include "mmc.h"
#include <linux/of.h>
#include <linux/notifier.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include <plat/omap_hwmod.h>
#include <plat/clock.h>
#include <linux/opp.h>
#include <linux/cpu.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "omap_opp_data.h"
#include <asm/system_misc.h>
#include <plat/omap-pm.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "common.h"
#include "prcm-common.h"
#include <asm/pmu.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
static char *omap2_pmu_oh_names[] = {"mpu"};
static char *omap3_pmu_oh_names[] = {"mpu", "debugss"};
#include "common.h"
#include <plat-omap/dma-omap.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include <plat/omap-pm.h>
#include <plat/serial.h>
#include <linux/slab.h>
#include <linux/io.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "voltage.h"
#include "control.h"
#include <asm/arch_timer.h>
#include <plat/omap_hwmod.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include <plat/dmtimer.h>
#include <plat/omap-pm.h>
#include <asm/io.h>
#include <plat/usb.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "mux.h"
#include <linux/usb/musb.h>
#include <plat/usb.h>
-#include <plat/omap_device.h>
+#include "omap_device.h"
#include "am35xx.h"
obj- :=
# omap_device support (OMAP2+ only at the moment)
-obj-$(CONFIG_ARCH_OMAP2PLUS) += omap_device.o
obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
obj-$(CONFIG_OMAP_DEBUG_DEVICES) += debug-devices.o
/* Interface documentation is in mach/omap-pm.h */
#include <plat/omap-pm.h>
-#include <plat/omap_device.h>
+
+#include "../mach-omap2/omap_device.h"
static bool off_mode_enabled;
static int dummy_context_loss_counter;