msm: clock-pll: Support dynamically mapped register space
Clock controller registers may be dynamically mapped into
memory in some clock drivers. Since those drivers are still
expected to re-use clock-pll code, support dynamically
mapped register spaces.
Change-Id: Iaf07f213d2bef64a68564b698a2536e611d724bd
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-pll.h b/arch/arm/mach-msm/clock-pll.h
index 7de81c9..26bfc68 100644
--- a/arch/arm/mach-msm/clock-pll.h
+++ b/arch/arm/mach-msm/clock-pll.h
@@ -40,6 +40,7 @@
unsigned int id;
void __iomem *const mode_reg;
struct clk c;
+ void *const __iomem *base;
};
extern struct clk_ops clk_pll_ops;
@@ -75,6 +76,7 @@
struct clk *parent;
struct clk c;
+ void *const __iomem *base;
};
extern struct clk_ops clk_ops_pll_vote;
@@ -95,6 +97,7 @@
struct clk *parent;
struct clk c;
+ void *const __iomem *base;
};
extern struct clk_ops clk_ops_local_pll;