Skip to content

Commit 91b631c

Browse files
robherringffainelli
authored andcommitted
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>
1 parent 06c2afb commit 91b631c

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

arch/arm/mach-bcm/bcm_5301x.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
*
66
* Licensed under the GNU/GPL. See COPYING for details.
77
*/
8-
#include <linux/of_platform.h>
9-
#include <asm/hardware/cache-l2x0.h>
108

119
#include <asm/mach/arch.h>
1210
#include <asm/siginfo.h>

arch/arm/mach-bcm/board_bcm23550.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
// Copyright (C) 2016 Broadcom
33

4-
#include <linux/of_platform.h>
5-
64
#include <asm/mach/arch.h>
75

86
static const char * const bcm23550_dt_compat[] = {

arch/arm/mach-bcm/brcmstb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include <linux/init.h>
55
#include <linux/irqchip.h>
6-
#include <linux/of_platform.h>
76

87
#include <asm/mach-types.h>
98
#include <asm/mach/arch.h>

arch/arm/mach-bcm/platsmp-brcmstb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <linux/init.h>
1111
#include <linux/io.h>
1212
#include <linux/jiffies.h>
13+
#include <linux/of.h>
1314
#include <linux/of_address.h>
14-
#include <linux/of_platform.h>
1515
#include <linux/printk.h>
1616
#include <linux/regmap.h>
1717
#include <linux/smp.h>

0 commit comments

Comments
 (0)