clk: stm32: add missing bitfield.h header
Subsystems (2)
PATCH 1/1 clk: stm32: add missing bitfield.h header
It seems some ARM header includes this and the build passes there, but nowhere else. Note that the driver has COMPILE_TEST in depends.
Fixes 37ae8501cdb0 ("clk: stm32: introduce clocks for STM32MP21 platfor")
Signed-off-by Rosen Penev <[email protected]>
--- drivers/clk/stm32/clk-stm32mp21.c | 1 + drivers/clk/stm32/clk-stm32mp25.c | 1 + 2 files changed, 2 insertions(+)
drivers/clk/stm32/clk-stm32mp21.c +1 -0
@@ -4,6 +4,7 @@* Author: Gabriel Fernandez <[email protected]> for STMicroelectronics. */ +#include <linux/bitfield.h> #include <linux/bus/stm32_firewall_device.h> #include <linux/clk-provider.h> #include <linux/io.h>
drivers/clk/stm32/clk-stm32mp25.c +1 -0
@@ -4,6 +4,7 @@* Author: Gabriel Fernandez <[email protected]> for STMicroelectronics. */ +#include <linux/bitfield.h> #include <linux/bus/stm32_firewall_device.h> #include <linux/clk-provider.h> #include <linux/io.h>
Signature · 1 line
2.54.0
Quoted 5 lines · Rosen Penev
It seems some ARM header includes this and the build passes there, but nowhere else. Note that the driver has
COMPILE_TESTin depends.Fixes 37ae8501cdb0 ("clk: stm32: introduce clocks for STM32MP21 platfor")Signed-off-by Rosen Penev <[email protected]>
Reviewed-by Brian Masney <[email protected]>