aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion5x/board-dt.c
diff options
context:
space:
mode:
authorAndrew Lunn2013-10-23 16:12:51 +0200
committerJason Cooper2013-11-24 02:36:40 +0000
commit4236666688e9dbc38d0c7a98b7cfa16c8961f752 (patch)
tree281914acfb2e9449fe43c1a92a0be5ea13b90f16 /arch/arm/mach-orion5x/board-dt.c
parent48fce88cb5fac1b9f9f1c3c756d1e5caa42d5692 (diff)
ARM: Orion5x: Fix warnings when using C=1.
Add missing include files, missing static keyword, and use NULL instead of 0, in order to fix warnings when compiling with C=1. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-orion5x/board-dt.c')
-rw-r--r--arch/arm/mach-orion5x/board-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/board-dt.c b/arch/arm/mach-orion5x/board-dt.c
index b91002ca92f3..c134a826070a 100644
--- a/arch/arm/mach-orion5x/board-dt.c
+++ b/arch/arm/mach-orion5x/board-dt.c
@@ -21,7 +21,7 @@
#include <plat/irq.h>
#include "common.h"
-struct of_dev_auxdata orion5x_auxdata_lookup[] __initdata = {
+static struct of_dev_auxdata orion5x_auxdata_lookup[] __initdata = {
OF_DEV_AUXDATA("marvell,orion-spi", 0xf1010600, "orion_spi.0", NULL),
OF_DEV_AUXDATA("marvell,mv64xxx-i2c", 0xf1011000, "mv64xxx_i2c.0",
NULL),