diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-04-04 04:07:53 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-05-02 06:08:20 -0400 |
commit | a10bd67f1905b394f5a9bd610dfc8b9b9befac0e (patch) | |
tree | f6e63da8b428fe3b7bc6c1a42ce80ba5bf8f3d75 /arch/arm/mach-imx/clk.h | |
parent | b75c015143a4a6021731ff3e36718896381be94f (diff) |
ARM: imx: add common clock support for pfd
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/clk.h')
-rw-r--r-- | arch/arm/mach-imx/clk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk.h b/arch/arm/mach-imx/clk.h index 5f6e435da4ae..52970996f39a 100644 --- a/arch/arm/mach-imx/clk.h +++ b/arch/arm/mach-imx/clk.h | |||
@@ -36,6 +36,9 @@ static inline struct clk *imx_clk_gate2(const char *name, const char *parent, | |||
36 | shift, 0, &imx_ccm_lock); | 36 | shift, 0, &imx_ccm_lock); |
37 | } | 37 | } |
38 | 38 | ||
39 | struct clk *imx_clk_pfd(const char *name, const char *parent_name, | ||
40 | void __iomem *reg, u8 idx); | ||
41 | |||
39 | static inline struct clk *imx_clk_fixed(const char *name, int rate) | 42 | static inline struct clk *imx_clk_fixed(const char *name, int rate) |
40 | { | 43 | { |
41 | return clk_register_fixed_rate(NULL, name, NULL, CLK_IS_ROOT, rate); | 44 | return clk_register_fixed_rate(NULL, name, NULL, CLK_IS_ROOT, rate); |