serial: Add missing Kconfig dependencies for debug consoles
[oweals/u-boot.git] / drivers / hwspinlock / stm32_hwspinlock.c
index a32bde4906ddfb14170cce71365a90b1b266a5d6..8be585a0c8660935b5695c4dea118e671e66524c 100644 (file)
@@ -7,7 +7,9 @@
 #include <clk.h>
 #include <dm.h>
 #include <hwspinlock.h>
+#include <malloc.h>
 #include <asm/io.h>
+#include <linux/bitops.h>
 
 #define STM32_MUTEX_COREID     BIT(8)
 #define STM32_MUTEX_LOCK_BIT   BIT(31)