]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit38b47f27dda9f5ce0938b6b3ef5fc5c3b0b4ee17
tree7ac9494904f303d04d00d6d8cc0aa65e2d77115d
parent4379123863bbfd8d25bd8773fccdebcc2ecaf6ec
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