* [PATCH 1/2] ARM: l2x0: Add explicit includes for init and types
@ 2023-07-18 21:08 Rob Herring
2023-07-18 21:08 ` [PATCH 2/2] ARM: sti: Drop unused includes Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2023-07-18 21:08 UTC (permalink / raw)
To: Patrice Chotard, Russell King; +Cc: linux-arm-kernel, linux-kernel
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>
---
arch/arm/include/asm/hardware/cache-l2x0.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/hardware/cache-l2x0.h b/arch/arm/include/asm/hardware/cache-l2x0.h
index a6d4ee86ba54..5a7ee70f561c 100644
--- a/arch/arm/include/asm/hardware/cache-l2x0.h
+++ b/arch/arm/include/asm/hardware/cache-l2x0.h
@@ -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
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] ARM: sti: Drop unused includes
2023-07-18 21:08 [PATCH 1/2] ARM: l2x0: Add explicit includes for init and types Rob Herring
@ 2023-07-18 21:08 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2023-07-18 21:08 UTC (permalink / raw)
To: Patrice Chotard, Russell King; +Cc: linux-arm-kernel, linux-kernel
Several includes are not needed, so drop them.
Signed-off-by: Rob Herring <robh@kernel.org>
---
This depends on patch 1.
arch/arm/mach-sti/board-dt.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-sti/board-dt.c b/arch/arm/mach-sti/board-dt.c
index ffecbf29646f..488084b61b4a 100644
--- a/arch/arm/mach-sti/board-dt.c
+++ b/arch/arm/mach-sti/board-dt.c
@@ -4,8 +4,6 @@
* Author(s): Srinivas Kandagatla <srinivas.kandagatla@st.com>
*/
-#include <linux/irq.h>
-#include <linux/of_platform.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/mach/arch.h>
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-19 6:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18 21:08 [PATCH 1/2] ARM: l2x0: Add explicit includes for init and types Rob Herring
2023-07-18 21:08 ` [PATCH 2/2] ARM: sti: Drop unused includes Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).