[PATCH] ARM: OMAP: convert omap_device_build() and callers to __init

Tony Lindgren tony at atomide.com
Wed Feb 15 17:14:08 EST 2012


* Kevin Hilman <khilman at ti.com> [120215 13:33]:
> 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 at ti.com>
> ---
> Tony, I tested this on top of your MMC series, and it gets rid of the
> rest of the section mismatch warnings except the
> omap_secondary_startup() one which is unrelated to this patch.

OK thanks, I'll apply them all with your patch into hsmmc branch once
they're done because this depends on the hsmmc changes.

Regards,

Tony



More information about the linux-arm-kernel mailing list