From: Alexandre Belloni Date: Fri, 26 Apr 2019 21:47:15 +0000 (+0200) Subject: clocksource/drivers/timer-atmel-pit: Rework Kconfig option X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2f982703bd00245af8455efad491ca45990bc0d8;p=linux.git clocksource/drivers/timer-atmel-pit: Rework Kconfig option Allow building the PIT driver when COMPILE_TEST is enabled. Also remove its default value so it can be disabled. Signed-off-by: Alexandre Belloni Signed-off-by: Daniel Lezcano --- diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index eb1560187434d..2137f672a12f4 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -399,8 +399,11 @@ config ARMV7M_SYSTICK This options enables support for the ARMv7M system timer unit config ATMEL_PIT + bool "Atmel PIT support" if COMPILE_TEST + depends on HAS_IOMEM select TIMER_OF if OF - def_bool SOC_AT91SAM9 || SOC_SAMA5 + help + Support for the Periodic Interval Timer found on Atmel SoCs. config ATMEL_ST bool "Atmel ST timer support" if COMPILE_TEST