ARM: l2x0: Add explicit includes for init and types
authorRob Herring <robh@kernel.org>
Thu, 3 Aug 2023 22:42:41 +0000 (16:42 -0600)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 Aug 2023 08:30:54 +0000 (10:30 +0200)
The cache-l2x0.h header uses u32 type and the __init and __iomem
attributes, so it should have explicit includes for those.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230803-dt-header-cleanups-for-soc-v2-1-d8de2cc88bff@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/include/asm/hardware/cache-l2x0.h

index a6d4ee8..5a7ee70 100644 (file)
@@ -9,6 +9,8 @@
 #define __ASM_ARM_HARDWARE_L2X0_H
 
 #include <linux/errno.h>
+#include <linux/init.h>
+#include <linux/types.h>
 
 #define L2X0_CACHE_ID                  0x000
 #define L2X0_CACHE_TYPE                        0x004