ARM: OMAP: convert omap_device_build() and callers to __init
authorKevin Hilman <khilman@ti.com>
Mon, 20 Feb 2012 17:43:30 +0000 (09:43 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Feb 2012 21:04:10 +0000 (13:04 -0800)
commit9cf793f9b8b1ba9414e2a7591b2e911885f85a27
tree7ac9494904f303d04d00d6d8cc0aa65e2d77115d
parentd1589f0912533e6cb2ac8fd6f1feb3d5989fe8cb
ARM: OMAP: convert omap_device_build() and callers to __init

Building omap_devices should only be done at init time, and since
omap_device_build() is using early_platform calls which are also
__init, this ensures that omap_device isn't trying to use functions
that disappear.

Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/gpio.c
arch/arm/mach-omap2/mcbsp.c
arch/arm/mach-omap2/pm.c
arch/arm/mach-omap2/sr_device.c
arch/arm/plat-omap/omap_device.c