When hwmod data is built into modules, a slightly different init is required at the board level. Add this new init support function, and change the boards that support hwmod data module in subsequent patches. Signed-off-by: Tero Kristo <t-kristo@xxxxxx> --- arch/arm/mach-omap2/board-generic.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 34ff14b..c58cf5a 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c @@ -42,6 +42,11 @@ static void __init omap_generic_init(void) omapdss_init_of(); } +static void __init __maybe_unused omap_generic_modular_init(void) +{ + omap_pdata_quirks_early_init(omap_dt_match_table); +} + #ifdef CONFIG_SOC_OMAP2420 static const char *const omap242x_boards_compat[] __initconst = { "ti,omap2420", -- 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