[PATCH v3 8/8] clocksource/drivers/tegra: Support COMPILE_TEST universally
From: Dmitry Osipenko
Date: Fri May 24 2019 - 11:38:55 EST
Remove build dependency on ARM for compile-testing to allow non-arch
specific build-bots (like Intel's test robot) to compile the driver and
report about problems.
Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
---
drivers/clocksource/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 3300739edce4..8c21e557181b 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -137,10 +137,10 @@ config SUN5I_HSTIMER
Enables support the Sun5i timer.
config TEGRA_TIMER
- bool "Tegra timer driver" if COMPILE_TEST
+ bool "Tegra timer driver"
select CLKSRC_MMIO
select TIMER_OF
- depends on ARM || ARM64
+ depends on ARCH_TEGRA || COMPILE_TEST
help
Enables support for the Tegra driver.
--
2.21.0