diff options
author | Ian Molton <spyro@f2s.com> | 2008-07-08 05:32:08 -0400 |
---|---|---|
committer | Ian Molton <spyro@f2s.com> | 2008-07-10 05:28:43 -0400 |
commit | ed847782f6459a5c94aa0c9f93679f6a4176a47a (patch) | |
tree | 6a08b8a941ef60b22ab404bb5803fa23a3e30cc8 /arch/arm/mach-pxa/clock.h | |
parent | aa9ae8eb1a917c8794bceef0a8e6ff1f4d7c46de (diff) |
Clocklib: Provide for GPIO 12 clock on PXA
Signed-off-by: Ian Molton <spyro@f2s.com>
Diffstat (limited to 'arch/arm/mach-pxa/clock.h')
-rw-r--r-- | arch/arm/mach-pxa/clock.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/clock.h b/arch/arm/mach-pxa/clock.h index 83cbfaba485d..32d0c074b351 100644 --- a/arch/arm/mach-pxa/clock.h +++ b/arch/arm/mach-pxa/clock.h | |||
@@ -47,6 +47,15 @@ struct clk { | |||
47 | .other = _other, \ | 47 | .other = _other, \ |
48 | } | 48 | } |
49 | 49 | ||
50 | #define INIT_CLK(_name, _ops, _rate, _delay, _dev) \ | ||
51 | { \ | ||
52 | .name = _name, \ | ||
53 | .dev = _dev, \ | ||
54 | .ops = _ops, \ | ||
55 | .rate = _rate, \ | ||
56 | .delay = _delay, \ | ||
57 | } | ||
58 | |||
50 | extern const struct clkops clk_cken_ops; | 59 | extern const struct clkops clk_cken_ops; |
51 | 60 | ||
52 | void clk_cken_enable(struct clk *clk); | 61 | void clk_cken_enable(struct clk *clk); |