The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCHv2 0/2] clk: stm32: fix COMPILE_TEST builds
@ 2026-07-19 21:50 Rosen Penev
  2026-07-19 21:50 ` [PATCHv2 1/2] clk: stm32: add missing bitfield.h header Rosen Penev
  2026-07-19 21:50 ` [PATCHv2 2/2] clk: stm32: allow STM32MP COMPILE_TEST builds Rosen Penev
  0 siblings, 2 replies; 5+ messages in thread
From: Rosen Penev @ 2026-07-19 21:50 UTC (permalink / raw)
  To: linux-clk
  Cc: Michael Turquette, Stephen Boyd, Brian Masney, Maxime Coquelin,
	Alexandre Torgue, Nathan Chancellor, Nick Desaulniers,
	Bill Wendling, Justin Stitt, Gabriel Fernandez, Nicolas Le Bayon,
	Alok Tiwari, open list, moderated list:ARM/STM32 ARCHITECTURE,
	moderated list:ARM/STM32 ARCHITECTURE,
	open list:CLANG/LLVM BUILD SUPPORT:Keyword:b(?i:clang|llvm)b

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-20 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-19 21:50 [PATCHv2 0/2] clk: stm32: fix COMPILE_TEST builds Rosen Penev
2026-07-19 21:50 ` [PATCHv2 1/2] clk: stm32: add missing bitfield.h header Rosen Penev
2026-07-20 20:00   ` Brian Masney
2026-07-19 21:50 ` [PATCHv2 2/2] clk: stm32: allow STM32MP COMPILE_TEST builds Rosen Penev
2026-07-20 20:01   ` Brian Masney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox