ARM: zynq: Make zynq_slcr_base static

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>
This commit is contained in:
Steffen Trumtrar 2013-06-29 09:20:17 +02:00 committed by Michal Simek
parent b0504e39c2
commit 7b274efef7
2 changed files with 1 additions and 2 deletions

View 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 */

View 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;
/**