summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/slcr.c
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2013-06-29 09:20:17 +0200
committerMichal Simek <michal.simek@xilinx.com>2014-02-10 11:21:19 +0100
commit7b274efef794fe566ee42f3091276d0598952558 (patch)
tree80ae881d2c64b7319ddc4f122d10e9f63335e235 /arch/arm/mach-zynq/slcr.c
parentb0504e39c27b00101c9c1fa2c58fd896ae0f64f5 (diff)
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>
Diffstat (limited to 'arch/arm/mach-zynq/slcr.c')
-rw-r--r--arch/arm/mach-zynq/slcr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c
index db5cb313bb1..34c1c2a20d8 100644
--- a/arch/arm/mach-zynq/slcr.c
+++ b/arch/arm/mach-zynq/slcr.c
@@ -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;
/**