Skip to contentSkip to conversation

clocksource: add missing Kconfig dependency on OF for timer-integrator-ap

PATCH Applied Bartosz Golaszewski 3 participants 3 messages Jan 16 – Jan 29 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocksource: add missing Kconfig dependency on OF for timer-integrator-ap

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.

---
 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/clocksource/Kconfig +1 -0
index aa59e5b13351..fd9112706545 100644
@@ -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.
Signature · 1 line
2.47.3
#1 lore raw
Quoted 7 lines · Bartosz Golaszewski

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.

---

Forgot to give credit to the build bot:

#2 lore raw

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

In reply to Bartosz Golaszewski
The following commit has been merged into the timers/clocksource branch of tip:

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 <[email protected]>
AuthorDate:    Fri, 16 Jan 2026 12:17:23 +01:00
Committer:     Daniel Lezcano <[email protected]>
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.

---
 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/clocksource/Kconfig +1 -0
index aa59e5b..fd91127 100644
@@ -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.