summaryrefslogtreecommitdiff
path: root/drivers/clk/samsung/clk-pll.h
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-08-26 21:09:04 +0400
committerMike Turquette <mturquette@linaro.org>2013-09-07 00:33:35 +0400
commit52b0601637ac41845d216c490a75e489a14c4e95 (patch)
tree2a6fd52588e76479386bbfe6e4bba6282cee5e77 /drivers/clk/samsung/clk-pll.h
parentc6415963006392cd67cb2d322c56ccc1711ac732 (diff)
downloadlinux-52b0601637ac41845d216c490a75e489a14c4e95.tar.xz
clk: samsung: pll: Use new registration method for PLL45xx
This patch modifies PLL45xx support code and its users to use the recently introduced common PLL registration helper. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/samsung/clk-pll.h')
-rw-r--r--drivers/clk/samsung/clk-pll.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/clk/samsung/clk-pll.h b/drivers/clk/samsung/clk-pll.h
index cd1103784f71..fceb2cb00f2a 100644
--- a/drivers/clk/samsung/clk-pll.h
+++ b/drivers/clk/samsung/clk-pll.h
@@ -17,6 +17,9 @@ enum samsung_pll_type {
pll_36xx,
pll_2550,
pll_2650,
+ pll_4500,
+ pll_4502,
+ pll_4508,
pll_6552,
pll_6553,
};
@@ -48,21 +51,12 @@ struct samsung_pll_rate_table {
unsigned int kdiv;
};
-enum pll45xx_type {
- pll_4500,
- pll_4502,
- pll_4508
-};
-
enum pll46xx_type {
pll_4600,
pll_4650,
pll_4650c,
};
-extern struct clk * __init samsung_clk_register_pll45xx(const char *name,
- const char *pname, const void __iomem *con_reg,
- enum pll45xx_type type);
extern struct clk * __init samsung_clk_register_pll46xx(const char *name,
const char *pname, const void __iomem *con_reg,
enum pll46xx_type type);