浏览代码

clocksource/drivers/tegra2: Add the COMPILE_TEST option

Increase the compilation test coverage by adding the COMPILE_TEST option.

Due to the non portable code for the delay timer, this option is only
available for the ARM architecture.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Daniel Lezcano 9 年之前
父节点
当前提交
adce4bc831
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      drivers/clocksource/Kconfig

+ 4 - 1
drivers/clocksource/Kconfig

@@ -84,7 +84,10 @@ config SUN5I_HSTIMER
 	  Enables support the Sun5i timer.
 	  Enables support the Sun5i timer.
 
 
 config TEGRA_TIMER
 config TEGRA_TIMER
-	bool
+	bool "Tegra timer driver" if COMPILE_TEST
+	depends on ARM
+	help
+	  Enables support for the Tegra driver.
 
 
 config VT8500_TIMER
 config VT8500_TIMER
 	bool
 	bool