[tip: timers/clocksource] clocksource/drivers/timer-integrator-ap: Add missing Kconfig dependency on OF

From: tip-bot2 for Bartosz Golaszewski

Date: Thu Jan 29 2026 - 16:32:50 EST


The following commit has been merged into the timers/clocksource branch of tip:

Commit-ID: 2246464821e2820572e6feefca2029f17629cc50
Gitweb: https://git.kernel.org/tip/2246464821e2820572e6feefca2029f17629cc50
Author: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
AuthorDate: Fri, 16 Jan 2026 12:17:23 +01:00
Committer: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
CommitterDate: Tue, 20 Jan 2026 18:06:27 +01:00

clocksource/drivers/timer-integrator-ap: Add missing Kconfig dependency on OF

This driver accesses the of_aliases global variable declared in
linux/of.h and defined in drivers/base/of.c. It requires OF support or
will cause a link failure. Add the missing Kconfig dependency.

Closes: https://lore.kernel.org/oe-kbuild-all/202601152233.og6LdeUo-lkp@xxxxxxxxx/
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
Link: https://patch.msgid.link/20260116111723.10585-1-bartosz.golaszewski@xxxxxxxxxxxxxxxx
---
drivers/clocksource/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index aa59e5b..fd91127 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -254,6 +254,7 @@ config KEYSTONE_TIMER

config INTEGRATOR_AP_TIMER
bool "Integrator-AP timer driver" if COMPILE_TEST
+ depends on OF
select CLKSRC_MMIO
help
Enables support for the Integrator-AP timer.