msm: clock-local: Replace bank_masks with bank_info pointer
bank_masks are just one of the types of data that can be used for
the rcg_clk.set_rate() function. Make this field into a void
pointer to ease overloading of what the set_rate() function can
use.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-local.h b/arch/arm/mach-msm/clock-local.h
index 6721f2c..99cabdf 100644
--- a/arch/arm/mach-msm/clock-local.h
+++ b/arch/arm/mach-msm/clock-local.h
@@ -126,9 +126,10 @@
const uint32_t root_en_mask;
uint32_t ns_mask;
const uint32_t ctl_mask;
- struct bank_masks *const bank_masks;
+ void *bank_info;
void (*set_rate)(struct rcg_clk *, struct clk_freq_tbl *);
+
struct clk_freq_tbl *const freq_tbl;
struct clk_freq_tbl *current_freq;