aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-sunxi/sunxi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
index ff2e6a404dab..3f9587bb51f6 100644
--- a/arch/arm/mach-sunxi/sunxi.c
+++ b/arch/arm/mach-sunxi/sunxi.c
@@ -35,7 +35,8 @@ extern void __init sun6i_reset_init(void);
35static void __init sun6i_timer_init(void) 35static void __init sun6i_timer_init(void)
36{ 36{
37 of_clk_init(NULL); 37 of_clk_init(NULL);
38 sun6i_reset_init(); 38 if (IS_ENABLED(CONFIG_RESET_CONTROLLER))
39 sun6i_reset_init();
39 clocksource_of_init(); 40 clocksource_of_init();
40} 41}
41 42