]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clocksource/drivers/timer-integrator-ap: Add missing Kconfig dependency on OF
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Fri, 16 Jan 2026 11:17:23 +0000 (12:17 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 20 Jan 2026 17:06:27 +0000 (18:06 +0100)
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@intel.com/
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://patch.msgid.link/20260116111723.10585-1-bartosz.golaszewski@oss.qualcomm.com
drivers/clocksource/Kconfig

index aa59e5b133510f9602578d9b78f19e82f1357449..fd9112706545425ad54a84b0c992cf09795c26c4 100644 (file)
@@ -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.