From: Kevin Hilman Date: Mon, 26 Jul 2010 22:34:31 +0000 (-0600) Subject: OMAP: PM: create omap_devices for MPU, DSP, L3 X-Git-Tag: v2.6.36-rc1~488^2~7^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f88e9bc21746be9b15f1d8dcacf7595807e8828;p=pandora-kernel.git 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 [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 --- Reading git-diff-tree failed