Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1432818 > unrolled thread

[PATCH 90/92] clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option

Started byDaniel Lezcano <daniel.lezcano@linaro.org>
First post2016-06-28 13:00 +0200
Last post2016-06-28 13:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 90/92] clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-06-28 13:00 +0200

#1432818 — [PATCH 90/92] clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2016-06-28 13:00 +0200
Subject[PATCH 90/92] clocksource/drivers/timer-atmel-st: Add the COMPILE_TEST option
Message-ID<rOYUh-5RL-7@gated-at.bofh.it>
Change the Kconfig option logic to fullfil with the current approach,
allowing the user to compile the driver on different platforms.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/clocksource/Kconfig | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 1711079..3086e74 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -335,9 +335,12 @@ config ATMEL_PIT
 	def_bool SOC_AT91SAM9 || SOC_SAMA5
 
 config ATMEL_ST
-	bool
+	bool "Atmel ST timer support" if COMPILE_TEST
+	depends on GENERIC_CLOCKEVENTS
 	select CLKSRC_OF
 	select MFD_SYSCON
+	help
+	  Support for the Atmel ST timer.
 
 config CLKSRC_METAG_GENERIC
 	def_bool y if METAG
-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web