Needed by hwmod module boot. Signed-off-by: Tero Kristo <t-kristo@xxxxxx> --- arch/arm/mach-omap2/omap_twl.c | 4 ++-- arch/arm/mach-omap2/twl-common.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/omap_twl.c b/arch/arm/mach-omap2/omap_twl.c index 6bf6267..22ddd40 100644 --- a/arch/arm/mach-omap2/omap_twl.c +++ b/arch/arm/mach-omap2/omap_twl.c @@ -218,7 +218,7 @@ static struct omap_voltdm_pmic omap4_core_pmic = { .uv_to_vsel = twl6030_uv_to_vsel, }; -int __init omap4_twl_init(void) +int omap4_twl_init(void) { struct voltagedomain *voltdm; @@ -237,7 +237,7 @@ int __init omap4_twl_init(void) return 0; } -int __init omap3_twl_init(void) +int omap3_twl_init(void) { struct voltagedomain *voltdm; diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c index 292eca0..2dd3440 100644 --- a/arch/arm/mach-omap2/twl-common.c +++ b/arch/arm/mach-omap2/twl-common.c @@ -34,7 +34,7 @@ #include "voltage.h" #include "mux.h" -static struct i2c_board_info __initdata pmic_i2c_board_info = { +static struct i2c_board_info pmic_i2c_board_info = { .addr = 0x48, .flags = I2C_CLIENT_WAKE, }; @@ -85,7 +85,7 @@ void __init omap4_pmic_init(const char *pmic_type, } #endif -void __init omap_pmic_late_init(void) +void omap_pmic_late_init(void) { /* Init the OMAP TWL parameters (if PMIC has been registerd) */ if (!pmic_i2c_board_info.irq) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html