summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/common.h
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2010-07-26 16:34:31 -0600
committerPaul Walmsley <paul@pwsan.com>2010-07-26 16:34:31 -0600
commit6f88e9bc21746be9b15f1d8dcacf7595807e8828 (patch)
treed4b2845d41516ad4fa81acd2429278b75595d89d /arch/arm/plat-omap/include/plat/common.h
parent0656358159d7e26205bb9360840759c7c3c0725f (diff)
downloadop-kernel-dev-6f88e9bc21746be9b15f1d8dcacf7595807e8828.zip
op-kernel-dev-6f88e9bc21746be9b15f1d8dcacf7595807e8828.tar.gz
OMAP: PM: create omap_devices for MPU, DSP, L3
Create simple omap_devices for the main processors and busses. This is required to support the forth-coming device-based OPP approach, where OPPs are managed and tracked at the device level. Also, move these common PM init functions into a common_pm_init call that is called as a device_initcall(). The PM init is done at this level to ensure that the driver core is initialized before initialized. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> [paul@pwsan.com: sparse warnings cleaned up; newly-created functions moved from mach-omap2/io.c to mach-omap2/pm.c; newly-created functions renamed to start with "omap2" rather than "omap"] Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/common.h')
-rw-r--r--arch/arm/plat-omap/include/plat/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/common.h b/arch/arm/plat-omap/include/plat/common.h
index d265018..fe83e90 100644
--- a/arch/arm/plat-omap/include/plat/common.h
+++ b/arch/arm/plat-omap/include/plat/common.h
@@ -87,4 +87,8 @@ void omap2_set_globals_uart(struct omap_globals *);
} \
})
+extern struct device *omap2_get_mpuss_device(void);
+extern struct device *omap2_get_dsp_device(void);
+extern struct device *omap2_get_l3_device(void);
+
#endif /* __ARCH_ARM_MACH_OMAP_COMMON_H */
OpenPOWER on IntegriCloud