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>
此提交包含在:
@@ -122,7 +122,7 @@ static int omap3_enable_st_clock(unsigned int id, bool enable)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int omap_init_mcbsp(struct omap_hwmod *oh, void *unused)
|
||||
static int __init omap_init_mcbsp(struct omap_hwmod *oh, void *unused)
|
||||
{
|
||||
int id, count = 1;
|
||||
char *name = "omap-mcbsp";
|
||||
|
新增問題並參考
封鎖使用者