diff options
author | Rob Herring <robh@kernel.org> | 2023-07-17 16:57:03 -0600 |
---|---|---|
committer | Florian Fainelli <florian.fainelli@broadcom.com> | 2023-07-21 10:01:47 -0700 |
commit | 91b631c25f6a21fe70f3fbc5c54aa05e617279bd (patch) | |
tree | 798f2e16c846ffffa54a972256e8d7ab8436ce23 /arch/arm/mach-bcm | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
download | linux-91b631c25f6a21fe70f3fbc5c54aa05e617279bd.tar.gz linux-91b631c25f6a21fe70f3fbc5c54aa05e617279bd.tar.bz2 linux-91b631c25f6a21fe70f3fbc5c54aa05e617279bd.zip |
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 <robh@kernel.org>
Link: https://lore.kernel.org/r/20230717225704.3215469-1-robh@kernel.org
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Diffstat (limited to 'arch/arm/mach-bcm')
-rw-r--r-- | arch/arm/mach-bcm/bcm_5301x.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-bcm/board_bcm23550.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-bcm/brcmstb.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-bcm/platsmp-brcmstb.c | 2 |
4 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-bcm/bcm_5301x.c b/arch/arm/mach-bcm/bcm_5301x.c index fe067f6cebb6..cd29496da1ea 100644 --- a/arch/arm/mach-bcm/bcm_5301x.c +++ b/arch/arm/mach-bcm/bcm_5301x.c @@ -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> diff --git a/arch/arm/mach-bcm/board_bcm23550.c b/arch/arm/mach-bcm/board_bcm23550.c index dd6e9cb785e0..3784b7372ad8 100644 --- a/arch/arm/mach-bcm/board_bcm23550.c +++ b/arch/arm/mach-bcm/board_bcm23550.c @@ -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[] = { diff --git a/arch/arm/mach-bcm/brcmstb.c b/arch/arm/mach-bcm/brcmstb.c index 2e3385ced82a..43bc98e388bf 100644 --- a/arch/arm/mach-bcm/brcmstb.c +++ b/arch/arm/mach-bcm/brcmstb.c @@ -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> diff --git a/arch/arm/mach-bcm/platsmp-brcmstb.c b/arch/arm/mach-bcm/platsmp-brcmstb.c index 8989299ebdd6..07aeda1d66a8 100644 --- a/arch/arm/mach-bcm/platsmp-brcmstb.c +++ b/arch/arm/mach-bcm/platsmp-brcmstb.c @@ -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> |