diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-11-23 04:00:03 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-12-16 01:31:20 -0500 |
commit | f113fe4e844be15394edcbc32b0ec196cdd0a0ff (patch) | |
tree | dceebef68696118b028354e1b6ec94f45bc8ed94 /arch/arm/mach-pxa/clock.h | |
parent | 2a125dd56b3a853701063fe8a678ad7603e385fd (diff) |
ARM: pxa: introduce pxa2xx_clock_sysclass for clock suspend/resume
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/clock.h')
-rw-r--r-- | arch/arm/mach-pxa/clock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/clock.h b/arch/arm/mach-pxa/clock.h index 04348781ad79..8ffc1d0b78e0 100644 --- a/arch/arm/mach-pxa/clock.h +++ b/arch/arm/mach-pxa/clock.h | |||
@@ -1,3 +1,4 @@ | |||
1 | #include <linux/sysdev.h> | ||
1 | #include <asm/clkdev.h> | 2 | #include <asm/clkdev.h> |
2 | 3 | ||
3 | struct clkops { | 4 | struct clkops { |
@@ -53,6 +54,8 @@ extern const struct clkops clk_pxa2xx_cken_ops; | |||
53 | void clk_pxa2xx_cken_enable(struct clk *clk); | 54 | void clk_pxa2xx_cken_enable(struct clk *clk); |
54 | void clk_pxa2xx_cken_disable(struct clk *clk); | 55 | void clk_pxa2xx_cken_disable(struct clk *clk); |
55 | 56 | ||
57 | extern struct sysdev_class pxa2xx_clock_sysclass; | ||
58 | |||
56 | #ifdef CONFIG_PXA3xx | 59 | #ifdef CONFIG_PXA3xx |
57 | #define DEFINE_PXA3_CKEN(_name, _cken, _rate, _delay) \ | 60 | #define DEFINE_PXA3_CKEN(_name, _cken, _rate, _delay) \ |
58 | struct clk clk_##_name = { \ | 61 | struct clk clk_##_name = { \ |