[v2,1/2] clocksource/drivers/timer-microchip-pit64b: select driver only on ARM

Message ID 20230203130537.1921608-2-claudiu.beznea@microchip.com
State New
Headers
Series clocksource/drivers/timer-microchip-pit64b: add delay timer support |

Commit Message

Claudiu Beznea Feb. 3, 2023, 1:05 p.m. UTC
  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(-)
  

Patch

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 778dad0c06a9..5fc8f0e7fb38 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -706,7 +706,7 @@  config INGENIC_OST
 
 config MICROCHIP_PIT64B
 	bool "Microchip PIT64B support"
-	depends on OF
+	depends on OF && ARM
 	select TIMER_OF
 	help
 	  This option enables Microchip PIT64B timer for Atmel