Skip to content

clk: stm32: fix COMPILE_TEST builds

Rosen Penev linux-arm-kernel linux-clk lkml llvm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v11 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: stm32: add missing bitfield.h headerdrivers/clk/stm32/clk-stm32mp21.c drivers/clk/stm32/clk-stm32mp25.c+2 -01 reply
2/2clk: stm32: allow STM32MP COMPILE_TEST buildsdrivers/clk/Makefile+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBrian Masney
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/2] clk: stm32: fix COMPILE_TEST builds

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(-)
Signature · 1 line
2.55.0