summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2019-10-08 14:34:43 +0200
committerFlorian Fainelli <f.fainelli@gmail.com>2019-10-17 00:05:26 +0200
commitd67fa6caae51f3a5d159234272903788e3446878 (patch)
tree1259af0685cc1dadb8c9893cebe65b5c5117de99 /arch/arm/mach-bcm
parentLinux 5.4-rc1 (diff)
downloadlinux-d67fa6caae51f3a5d159234272903788e3446878.tar.xz
linux-d67fa6caae51f3a5d159234272903788e3446878.zip
ARM: bcm: include local platsmp.h for bcm2836_smp_ops
Include platsmp.h for the definition of bcm2836_smp_ops to fix the following warning: arch/arm/mach-bcm/platsmp.c:334:29: warning: symbol 'bcm2836_smp_ops' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Acked-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/mach-bcm')
-rw-r--r--arch/arm/mach-bcm/platsmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/platsmp.c b/arch/arm/mach-bcm/platsmp.c
index 47f8053d0240..21400b3fa5fe 100644
--- a/arch/arm/mach-bcm/platsmp.c
+++ b/arch/arm/mach-bcm/platsmp.c
@@ -22,6 +22,8 @@
#include <asm/smp_plat.h>
#include <asm/smp_scu.h>
+#include "platsmp.h"
+
/* Size of mapped Cortex A9 SCU address space */
#define CORTEX_A9_SCU_SIZE 0x58