Message ID | 20151101175718.130f33f2@canb.auug.org.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sunday, November 01, 2015 05:57:18 PM Stephen Rothwell wrote: > Hi Rafael, Hi, Thanks for the patch! > After merging the pm tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > arch/arm/mach-mediatek/mediatek.c: In function 'mediatek_timer_init': > arch/arm/mach-mediatek/mediatek.c:43:2: error: implicit declaration of function 'clocksource_of_init' [-Werror=implicit-function-declaration] > clocksource_of_init(); > ^ > > Caused by commit > > 3722ed2380ad ("clocksource: cosmetic: Drop OF 'dependency' from symbols") > > interacting with commit > > 9821e545c5e0 ("ARM: mediatek: enable gpt6 on boot up to make arch timer working") > > from the arm-soc tree. > > I applied the following merge fix patch for today (someone should tell > Linus when theese trees are merged): I'll do that. Thanks, Rafael
diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c index 19dc738c1abc..c88a47a3dc37 100644 --- a/arch/arm/mach-mediatek/mediatek.c +++ b/arch/arm/mach-mediatek/mediatek.c @@ -40,7 +40,7 @@ static void __init mediatek_timer_init(void) } of_clk_init(NULL); - clocksource_of_init(); + clocksource_probe(); }; static const char * const mediatek_board_dt_compat[] = {