aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-emev2.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-01-28 16:20:49 +0100
committerSimon Horman <horms+renesas@verge.net.au>2016-02-19 14:45:31 +0900
commitc58b31aa46b4c1197acd3503e8c07da79b6bc1c2 (patch)
tree192d0034b90055a71b0a03c4edc1be096fc5bd9a /arch/arm/mach-shmobile/setup-emev2.c
parentARM: shmobile: emev2: Remove legacy machine_desc.map_io() callback (diff)
downloadlinux-dev-c58b31aa46b4c1197acd3503e8c07da79b6bc1c2.tar.xz
linux-dev-c58b31aa46b4c1197acd3503e8c07da79b6bc1c2.zip
ARM: shmobile: emev2: Move declaration of emev2_smp_ops to emev2.h
make C=1: arch/arm/mach-shmobile/smp-emev2.c:51:29: warning: symbol 'emev2_smp_ops' was not declared. Should it be static? To fix this, move the forward declaration of emev2_smp_ops to a header file, and include it where appropriate. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-emev2.c')
-rw-r--r--arch/arm/mach-shmobile/setup-emev2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c
index 0829d0215c38..3c99aaf65325 100644
--- a/arch/arm/mach-shmobile/setup-emev2.c
+++ b/arch/arm/mach-shmobile/setup-emev2.c
@@ -18,15 +18,15 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
+
#include "common.h"
+#include "emev2.h"
static const char *const emev2_boards_compat_dt[] __initconst = {
"renesas,emev2",
NULL,
};
-extern const struct smp_operations emev2_smp_ops;
-
DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)")
.smp = smp_ops(emev2_smp_ops),
.init_early = shmobile_init_delay,