diff options
author | Ian Molton <spyro@f2s.com> | 2008-07-08 10:32:08 +0100 |
---|---|---|
committer | Ian Molton <spyro@f2s.com> | 2008-07-10 10:28:43 +0100 |
commit | ed847782f6459a5c94aa0c9f93679f6a4176a47a (patch) | |
tree | 6a08b8a941ef60b22ab404bb5803fa23a3e30cc8 /arch/arm/mach-pxa/clock.h | |
parent | aa9ae8eb1a917c8794bceef0a8e6ff1f4d7c46de (diff) | |
download | linux-ed847782f6459a5c94aa0c9f93679f6a4176a47a.tar.gz linux-ed847782f6459a5c94aa0c9f93679f6a4176a47a.tar.bz2 linux-ed847782f6459a5c94aa0c9f93679f6a4176a47a.zip |
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 { .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); |