[PATCHv2 0/2] clk: stm32: fix COMPILE_TEST builds
From: Rosen Penev
Date: Sun Jul 19 2026 - 17:50:52 EST
The STM32MP clock drivers have COMPILE_TEST in their Kconfig depends, but
they fail to build (and are not even compiled) when ARCH_STM32 is disabled.
The first patch adds a missing bitfield.h include so the drivers build
standalone, and the second wires up the Makefile gate to the STM32MP clock
symbol so the directory is actually traversed under COMPILE_TEST.
v2: split up in two patches.
Rosen Penev (2):
clk: stm32: add missing bitfield.h header
clk: stm32: allow STM32MP COMPILE_TEST builds
drivers/clk/Makefile | 2 +-
drivers/clk/stm32/clk-stm32mp21.c | 1 +
drivers/clk/stm32/clk-stm32mp25.c | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
--
2.55.0