summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-03-19 14:17:48 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-04-05 22:19:50 +0200
commit7ab7ef741a467e7af50c9b7446ec992bec9ea6a7 (patch)
tree135548df1d48a784d24cbb66bc4602c470ef8b7f /drivers/clocksource
parentARM: at91: remove useless include (diff)
downloadlinux-7ab7ef741a467e7af50c9b7446ec992bec9ea6a7.tar.xz
linux-7ab7ef741a467e7af50c9b7446ec992bec9ea6a7.zip
clocksource: atmel-st: select MFD_SYSCON
Enforce MFD_SYSCON selection as the driver needs it. Else, it will still compile with some warning about X1, x2 or sr being used uninitialized. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 168035883afa..55aef6f89074 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -146,6 +146,7 @@ config ATMEL_PIT
config ATMEL_ST
bool
select CLKSRC_OF
+ select MFD_SYSCON
config CLKSRC_METAG_GENERIC
def_bool y if METAG