ARM: bcm: Drop unused includes
Subsystems (5)
PATCH 1/1 ARM: bcm: Drop unused includes
Several includes are not needed, so drop them.
of_platform.h is not needed, but it implicitly includes of.h which is needed.
Signed-off-by Rob Herring <[email protected]>
--- arch/arm/mach-bcm/bcm_5301x.c | 2 -- arch/arm/mach-bcm/board_bcm23550.c | 2 -- arch/arm/mach-bcm/brcmstb.c | 1 - arch/arm/mach-bcm/platsmp-brcmstb.c | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-)
arch/arm/mach-bcm/bcm_5301x.c +0 -2
@@ -5,8 +5,6 @@* * Licensed under the GNU/GPL. See COPYING for details. */ -#include <linux/of_platform.h> -#include <asm/hardware/cache-l2x0.h> #include <asm/mach/arch.h> #include <asm/siginfo.h>
arch/arm/mach-bcm/board_bcm23550.c +0 -2
@@ -1,8 +1,6 @@// SPDX-License-Identifier: GPL-2.0-only // Copyright (C) 2016 Broadcom -#include <linux/of_platform.h> -#include <asm/mach/arch.h> static const char *const bcm23550_dt_compat[] = {
arch/arm/mach-bcm/brcmstb.c +0 -1
@@ -3,7 +3,6 @@#include <linux/init.h> #include <linux/irqchip.h> -#include <linux/of_platform.h> #include <asm/mach-types.h> #include <asm/mach/arch.h>
arch/arm/mach-bcm/platsmp-brcmstb.c +1 -1
@@ -10,8 +10,8 @@#include <linux/init.h> #include <linux/io.h> #include <linux/jiffies.h> +#include <linux/of.h> #include <linux/of_address.h> -#include <linux/of_platform.h> #include <linux/printk.h> #include <linux/regmap.h> #include <linux/smp.h>
Signature · 1 line
2.40.1
From: Florian Fainelli <[email protected]>
Quoted 7 lines · Rob Herring
Several includes are not needed, so drop them.
of_platform.his not needed, but it implicitly includesof.hwhich is needed.Signed-off-by Rob Herring <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/soc/next, thanks! --
Florian
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel