diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/clock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/clock.h b/arch/arm/plat-mxc/include/mach/clock.h index 753a5988d85c..bd940c795cbb 100644 --- a/arch/arm/plat-mxc/include/mach/clock.h +++ b/arch/arm/plat-mxc/include/mach/clock.h | |||
@@ -23,6 +23,7 @@ | |||
23 | #ifndef __ASSEMBLY__ | 23 | #ifndef __ASSEMBLY__ |
24 | #include <linux/list.h> | 24 | #include <linux/list.h> |
25 | 25 | ||
26 | #ifndef CONFIG_COMMON_CLK | ||
26 | struct module; | 27 | struct module; |
27 | 28 | ||
28 | struct clk { | 29 | struct clk { |
@@ -59,6 +60,9 @@ struct clk { | |||
59 | 60 | ||
60 | int clk_register(struct clk *clk); | 61 | int clk_register(struct clk *clk); |
61 | void clk_unregister(struct clk *clk); | 62 | void clk_unregister(struct clk *clk); |
63 | #endif /* CONFIG_COMMON_CLK */ | ||
64 | |||
65 | extern spinlock_t imx_ccm_lock; | ||
62 | 66 | ||
63 | unsigned long mxc_decode_pll(unsigned int pll, u32 f_ref); | 67 | unsigned long mxc_decode_pll(unsigned int pll, u32 f_ref); |
64 | 68 | ||