ARM: l2x0: Add explicit includes for init and types
Subsystems (3)
PATCH 1/2 ARM: l2x0: Add explicit includes for init and types
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 <[email protected]>
--- arch/arm/include/asm/hardware/cache-l2x0.h | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/include/asm/hardware/cache-l2x0.h +2 -0
@@ -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
Signature · 1 line
2.40.1
PATCH 2/2 ARM: sti: Drop unused includes
Several includes are not needed, so drop them.
Signed-off-by Rob Herring <[email protected]>
---
This depends on patch 1.
arch/arm/mach-sti/board-dt.c | 2 -- 1 file changed, 2 deletions(-)
arch/arm/mach-sti/board-dt.c +0 -2
@@ -4,8 +4,6 @@* Author(s): Srinivas Kandagatla <[email protected]> */ -#include <linux/irq.h> -#include <linux/of_platform.h> #include <asm/hardware/cache-l2x0.h> #include <asm/mach/arch.h>
Signature · 1 line
2.40.1