[tip: timers/core] clocksource/drivers/timer-microchip-pit64b: Select driver only on ARM
From: tip-bot2 for Claudiu Beznea
Date: Mon Feb 13 2023 - 13:26:51 EST
The following commit has been merged into the timers/core branch of tip:
Commit-ID: d19c8b2ed176c6aaf3dfefd149c740f73ce4875e
Gitweb: https://git.kernel.org/tip/d19c8b2ed176c6aaf3dfefd149c740f73ce4875e
Author: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
AuthorDate: Fri, 03 Feb 2023 15:05:36 +02:00
Committer: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
CommitterDate: Mon, 13 Feb 2023 13:10:17 +01:00
clocksource/drivers/timer-microchip-pit64b: Select driver only on ARM
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@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20230203130537.1921608-2-claudiu.beznea@xxxxxxxxxxxxx
Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
---
drivers/clocksource/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 45085ab..ac22c1a 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