diff options
| author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-01-08 08:21:31 -0500 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-01-11 12:45:26 -0500 |
| commit | 03724ac3d48f8f0e3caf1d30fa134f8fd96c94e2 (patch) | |
| tree | 8cd6347075edb370c88289a7847179b30ad9830e | |
| parent | 863ee050726b67db82869e8e4221a7385a28b067 (diff) | |
clocksource/drivers/fsl_ftm_timer: Fix CLKSRC_MMIO dependency
Select CLKSRC_MMIO when FSL_FTM_TIMER is enabled. Otherwise it fails to
compile on i386 with COMPILE_TEST=y.
"
on i386:
when CLKSRC_MMIO is not enabled:
drivers/built-in.o: In function `ftm_timer_init':
fsl_ftm_timer.c:(.init.text+0x6842): undefined reference to `clocksource_mmio_readl_up'
fsl_ftm_timer.c:(.init.text+0x6855): undefined reference to `clocksource_mmio_init'
"
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
| -rw-r--r-- | drivers/clocksource/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 796efbe7bea5..56777f04d2d9 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig | |||
| @@ -257,6 +257,7 @@ config CLKSRC_SAMSUNG_PWM | |||
| 257 | config FSL_FTM_TIMER | 257 | config FSL_FTM_TIMER |
| 258 | bool "Freescale FlexTimer Module driver" if COMPILE_TEST | 258 | bool "Freescale FlexTimer Module driver" if COMPILE_TEST |
| 259 | depends on GENERIC_CLOCKEVENTS | 259 | depends on GENERIC_CLOCKEVENTS |
| 260 | select CLKSRC_MMIO | ||
| 260 | help | 261 | help |
| 261 | Support for Freescale FlexTimer Module (FTM) timer. | 262 | Support for Freescale FlexTimer Module (FTM) timer. |
| 262 | 263 | ||
