[PATCH 2/3] clocksource/drivers/timer-microchip-pit64b: select driver only on ARM

Claudiu Beznea posted 3 patches 2 years, 8 months ago
There is a newer version of this series
[PATCH 2/3] clocksource/drivers/timer-microchip-pit64b: select driver only on ARM
Posted by Claudiu Beznea 2 years, 8 months ago
Microchip PIT64B is currently available on ARM based devices. Thus
select it only for ARM. This allows implementing delay timer.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 drivers/clocksource/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 0e87d478a2fa..d47825e72dc2 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -706,7 +706,7 @@ config INGENIC_OST
 
 config MICROCHIP_PIT64B
 	bool "Microchip PIT64B support" if COMPILE_TEST
-	depends on OF
+	depends on OF && ARM
 	select TIMER_OF
 	help
 	  This option enables Microchip PIT64B timer for Atmel
-- 
2.34.1