[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <11970328.RVc8t0Mk1C@wuerfel>
Date: Thu, 14 Jan 2016 00:02:13 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, Xiubo Li <Li.Xiubo@...escale.com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <kernel@...gutronix.de>,
Stefan Agner <stefan@...er.ch>,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH] clocksource: ftm: select CLKSRC_MMIO
The ftm clocksource driver does not build if CLKSRC_MMIO is disabled:
drivers/built-in.o: In function `ftm_timer_init':
(init.text+0xd324): undefined reference to `clocksource_mmio_init'
(init.text+0xd484): undefined reference to `clocksource_mmio_readl_up'
This adds the same 'select' statement that the other similar drivers
use. Prior to allowing this driver to be enabled with COMPILE_TEST,
it was apparently unused. I'm not entirely sure who is using this
hardware, but it certainly can't hurt to ensure it builds cleanly.
Signed-off-by: Arnd Bergmann <arnd@...db.de>
Fixes: ef49336bbd15 ("clocksource/drivers/fsl-ftm: Add the COMPILE_TEST option")
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index b251013eef0a..d3ad9512312b 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -256,6 +256,7 @@ config CLKSRC_SAMSUNG_PWM
config FSL_FTM_TIMER
bool "Freescale FlexTimer Module driver" if COMPILE_TEST
depends on GENERIC_CLOCKEVENTS
+ select CLKSRC_MMIO
help
Support for Freescale FlexTimer Module (FTM) timer.
Powered by blists - more mailing lists