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>
This commit is contained in:

کامیت شده توسط
Tony Lindgren

والد
d1589f0912
کامیت
9cf793f9b8
@@ -69,7 +69,7 @@ static void __init sr_set_nvalues(struct omap_volt_data *volt_data,
|
||||
sr_data->nvalue_count = count;
|
||||
}
|
||||
|
||||
static int sr_dev_init(struct omap_hwmod *oh, void *user)
|
||||
static int __init sr_dev_init(struct omap_hwmod *oh, void *user)
|
||||
{
|
||||
struct omap_sr_data *sr_data;
|
||||
struct platform_device *pdev;
|
||||
|
مرجع در شماره جدید
Block a user