clocksource/drivers/fsl_ftm_timer: Fix CLKSRC_MMIO dependency
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 8 Jan 2016 13:21:31 +0000 (14:21 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 11 Jan 2016 17:45:26 +0000 (18:45 +0100)
commit03724ac3d48f8f0e3caf1d30fa134f8fd96c94e2
tree8cd6347075edb370c88289a7847179b30ad9830e
parent863ee050726b67db82869e8e4221a7385a28b067
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>
drivers/clocksource/Kconfig