aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/clock.h
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-11-23 04:00:03 -0500
committerEric Miao <eric.y.miao@gmail.com>2010-12-16 01:31:20 -0500
commitf113fe4e844be15394edcbc32b0ec196cdd0a0ff (patch)
treedceebef68696118b028354e1b6ec94f45bc8ed94 /arch/arm/mach-pxa/clock.h
parent2a125dd56b3a853701063fe8a678ad7603e385fd (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.h3
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
3struct clkops { 4struct clkops {
@@ -53,6 +54,8 @@ extern const struct clkops clk_pxa2xx_cken_ops;
53void clk_pxa2xx_cken_enable(struct clk *clk); 54void clk_pxa2xx_cken_enable(struct clk *clk);
54void clk_pxa2xx_cken_disable(struct clk *clk); 55void clk_pxa2xx_cken_disable(struct clk *clk);
55 56
57extern 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) \
58struct clk clk_##_name = { \ 61struct clk clk_##_name = { \