linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clocksource/drivers/npcm: select TIMER_OF
@ 2019-03-05 13:24 Arnd Bergmann
  2019-03-07  9:02 ` Daniel Lezcano
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2019-03-05 13:24 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner; +Cc: Arnd Bergmann, Tomer Maimon, linux-kernel

When this is disabled, we get a link failure:

drivers/clocksource/timer-npcm7xx.o: In function `npcm7xx_timer_init':
timer-npcm7xx.c:(.init.text+0xf): undefined reference to `timer_of_init'

Fixes: 1c00289ecd12 ("clocksource/drivers/npcm: Add NPCM7xx timer driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 171502a356aa..4b3d143f0f8a 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -145,6 +145,7 @@ config VT8500_TIMER
 config NPCM7XX_TIMER
 	bool "NPCM7xx timer driver" if COMPILE_TEST
 	depends on HAS_IOMEM
+	select TIMER_OF
 	select CLKSRC_MMIO
 	help
 	  Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture,
-- 
2.20.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] clocksource/drivers/npcm: select TIMER_OF
  2019-03-05 13:24 [PATCH] clocksource/drivers/npcm: select TIMER_OF Arnd Bergmann
@ 2019-03-07  9:02 ` Daniel Lezcano
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2019-03-07  9:02 UTC (permalink / raw)
  To: Arnd Bergmann, Thomas Gleixner; +Cc: Tomer Maimon, linux-kernel

On 05/03/2019 14:24, Arnd Bergmann wrote:
> When this is disabled, we get a link failure:
> 
> drivers/clocksource/timer-npcm7xx.o: In function `npcm7xx_timer_init':
> timer-npcm7xx.c:(.init.text+0xf): undefined reference to `timer_of_init'
> 
> Fixes: 1c00289ecd12 ("clocksource/drivers/npcm: Add NPCM7xx timer driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---

Applied thanks


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-07  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-05 13:24 [PATCH] clocksource/drivers/npcm: select TIMER_OF Arnd Bergmann
2019-03-07  9:02 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).