[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <a03727927a64135bb9bc61ddfe07b7f7f028de72.1389018985.git.michal.simek@xilinx.com>
Date: Mon, 6 Jan 2014 15:36:41 +0100
From: Michal Simek <michal.simek@...inx.com>
To: linux-arm-kernel@...ts.infradead.org,
Arnd Bergmann <arnd@...db.de>,
Soren Brinkmann <soren.brinkmann@...inx.com>,
Steffen Trumtrar <s.trumtrar@...gutronix.de>
Cc: monstr@...str.eu, Josh Cartwright <josh.cartwright@...com>,
Rob Herring <robherring2@...il.com>,
Peter Crosthwaite <peter.crosthwaite@...inx.com>,
Russell King <linux@....linux.org.uk>,
linux-kernel@...r.kernel.org
Subject: [PATCH 5/7] ARM: zynq: Make zynq_slcr_base static
From: Steffen Trumtrar <s.trumtrar@...gutronix.de>
The pointer doesn't need to be passed around any more.
Make it static.
Signed-off-by: Steffen Trumtrar <s.trumtrar@...gutronix.de>
Signed-off-by: Michal Simek <michal.simek@...inx.com>
---
arch/arm/mach-zynq/common.h | 1 -
arch/arm/mach-zynq/slcr.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-zynq/common.h b/arch/arm/mach-zynq/common.h
index 1548b85..b097844 100644
--- a/arch/arm/mach-zynq/common.h
+++ b/arch/arm/mach-zynq/common.h
@@ -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 */
diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c
index 2891dcf..a679dff 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;
/**
--
1.8.2.3
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists