summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-06-24 05:49:05 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-06-24 10:50:02 +0200
commit002af195a8c720ca47c7884fd0390f3b327423b9 (patch)
tree55f6eadf9c296b38f5ed51e68ef52da38cb36f8b /drivers/clocksource
parentARM: fix new BSYM() usage introduced via for-arm-soc branch (diff)
downloadlinux-002af195a8c720ca47c7884fd0390f3b327423b9.tar.xz
linux-002af195a8c720ca47c7884fd0390f3b327423b9.zip
ARM: Fix build if CLKDEV_LOOKUP is not configured
mips:allmodconfig fails to build with drivers/clocksource/timer-sp804.c: In function '__sp804_clocksource_and_sched_clock_init': drivers/clocksource/timer-sp804.c:88:3: error: implicit declaration of function 'clk_get_sys' because CLKDEV_LOOKUP is not configured and the driver depends on it. Fixes: 0b7402dce445 ("ARM: 8366/1: move Dual-Timer SP804 driver to drivers/clocksource") Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 50534704486a..b2590d6c721a 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -134,7 +134,7 @@ config ARM_GLOBAL_TIMER
config ARM_TIMER_SP804
bool "Support for Dual Timer SP804 module"
- depends on GENERIC_SCHED_CLOCK
+ depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
select CLKSRC_MMIO
select CLKSRC_OF if OF