aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/clock.h
diff options
context:
space:
mode:
authorIan Molton <spyro@f2s.com>2008-07-08 10:32:08 +0100
committerIan Molton <spyro@f2s.com>2008-07-10 10:28:43 +0100
commited847782f6459a5c94aa0c9f93679f6a4176a47a (patch)
tree6a08b8a941ef60b22ab404bb5803fa23a3e30cc8 /arch/arm/mach-pxa/clock.h
parentaa9ae8eb1a917c8794bceef0a8e6ff1f4d7c46de (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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/clock.h b/arch/arm/mach-pxa/clock.h
index 83cbfaba485..32d0c074b35 100644
--- a/arch/arm/mach-pxa/clock.h
+++ b/arch/arm/mach-pxa/clock.h
@@ -47,6 +47,15 @@ struct clk {
.other = _other, \
}
+#define INIT_CLK(_name, _ops, _rate, _delay, _dev) \
+ { \
+ .name = _name, \
+ .dev = _dev, \
+ .ops = _ops, \
+ .rate = _rate, \
+ .delay = _delay, \
+ }
+
extern const struct clkops clk_cken_ops;
void clk_cken_enable(struct clk *clk);