aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-07-08 08:39:40 -0400
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-07-23 06:02:33 -0400
commit40c96312dc3534d97c64d7d69acf1ea14ceff404 (patch)
treed695709f14a167eca60435071aa1724529fb7301 /drivers/clocksource
parent22c4e026d68eaa7cc539e94111835f7cd24edecd (diff)
clocksource: Kconfig: Let EM_TIMER_STI depend on HAS_IOMEM
In 'em_sti.c', it will call devm_ioremap_resource() which need HAS_IOMEM. So need let EM_TIMER_STI depend on HAS_IOMEM, too. The related error (with allmodconfig under score): LD init/built-in.o em_sti.c:(.text.em_sti_probe+0x84): undefined reference to `devm_ioremap_resource' make: *** [vmlinux] Error 1 Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
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 497356d4dc70..7ea7d7c48d72 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -194,7 +194,7 @@ config SH_TIMER_TMU
194 194
195config EM_TIMER_STI 195config EM_TIMER_STI
196 bool "Renesas STI timer driver" if COMPILE_TEST 196 bool "Renesas STI timer driver" if COMPILE_TEST
197 depends on GENERIC_CLOCKEVENTS 197 depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
198 default SYS_SUPPORTS_EM_STI 198 default SYS_SUPPORTS_EM_STI
199 help 199 help
200 This enables build of a clocksource and clockevent driver for 200 This enables build of a clocksource and clockevent driver for