ARM: zynq: Make zynq_slcr_base static
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Sat, 29 Jun 2013 07:20:17 +0000 (09:20 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 10 Feb 2014 10:21:19 +0000 (11:21 +0100)
The pointer doesn't need to be passed around any more.
Make it static.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/common.h
arch/arm/mach-zynq/slcr.c

index 1548b85..b097844 100644 (file)
@@ -34,7 +34,6 @@ extern int zynq_cpun_start(u32 address, int cpu);
 extern struct smp_operations zynq_smp_ops __initdata;
 #endif
 
-extern void __iomem *zynq_slcr_base;
 extern void __iomem *zynq_scu_base;
 
 /* Hotplug */
index db5cb31..34c1c2a 100644 (file)
@@ -31,7 +31,7 @@
 #define SLCR_A9_CPU_CLKSTOP            0x10
 #define SLCR_A9_CPU_RST                        0x1
 
-void __iomem *zynq_slcr_base;
+static void __iomem *zynq_slcr_base;
 static struct regmap *zynq_slcr_regmap;
 
 /**