summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/clock.h
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-11-23 12:00:03 +0300
committerEric Miao <eric.y.miao@gmail.com>2010-12-16 09:31:20 +0300
commitf113fe4e844be15394edcbc32b0ec196cdd0a0ff (patch)
treedceebef68696118b028354e1b6ec94f45bc8ed94 /arch/arm/mach-pxa/clock.h
parent2a125dd56b3a853701063fe8a678ad7603e385fd (diff)
downloadlinux-f113fe4e844be15394edcbc32b0ec196cdd0a0ff.tar.xz
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 @@
+#include <linux/sysdev.h>
#include <asm/clkdev.h>
struct clkops {
@@ -53,6 +54,8 @@ extern const struct clkops clk_pxa2xx_cken_ops;
void clk_pxa2xx_cken_enable(struct clk *clk);
void clk_pxa2xx_cken_disable(struct clk *clk);
+extern struct sysdev_class pxa2xx_clock_sysclass;
+
#ifdef CONFIG_PXA3xx
#define DEFINE_PXA3_CKEN(_name, _cken, _rate, _delay) \
struct clk clk_##_name = { \