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:
parent
b0504e39c2
commit
7b274efef7
@ -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 */
|
||||
|
@ -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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user