]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clocksource/drivers/h8300: Increase the compilation test coverage
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 9 Nov 2015 14:18:08 +0000 (15:18 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 09:12:16 +0000 (10:12 +0100)
Add the COMPILE_TEST option so the drivers can be compiled on different
architecture with the 'allyesconfig' kernel configuration.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig

index 73477b5e094b2a51df2211b87ce22d642f39bc59..db240cb56da786e7d244f4fae8e15e6f8db48669 100644 (file)
@@ -363,13 +363,24 @@ config CLKSRC_PXA
          platforms.
 
 config H8300_TMR8
-        bool
+        bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
+        depends on GENERIC_CLOCKEVENTS
+       help
+         This enables the 8 bits timer for the H8300 platform.
 
 config H8300_TMR16
-        bool
+        bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
+        depends on GENERIC_CLOCKEVENTS
+       help
+         This enables the 16 bits timer for the H8300 platform with the
+         H83069 cpu.
 
 config H8300_TPU
-        bool
+        bool "Clocksource for the H8300 platform" if COMPILE_TEST
+        depends on GENERIC_CLOCKEVENTS
+       help
+         This enables the clocksource for the H8300 platform with the
+         H8S2678 cpu.
 
 config CLKSRC_IMX_GPT
        bool "Clocksource using i.MX GPT" if COMPILE_TEST