summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/clock.h
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2011-04-08 14:15:38 +0200
committerEric Miao <eric.y.miao@gmail.com>2011-07-12 13:45:19 +0200
commit52585ccd93d75e368382af09ae336ed8f231642c (patch)
tree34104e267dc7e219285f2c48c190c05f2f02a69e /arch/arm/mach-pxa/clock.h
parentARM: pxa: enable AUTO_ZRELADDR (diff)
downloadlinux-52585ccd93d75e368382af09ae336ed8f231642c.tar.xz
linux-52585ccd93d75e368382af09ae336ed8f231642c.zip
ARM: pxa: add clk_set_rate()
Since there're mulitple clock rates in some device controllers, enable clk_set_rate() for this usage. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/clock.h b/arch/arm/mach-pxa/clock.h
index 1f2fb9c43f06..3a258b1bf1aa 100644
--- a/arch/arm/mach-pxa/clock.h
+++ b/arch/arm/mach-pxa/clock.h
@@ -5,6 +5,7 @@ struct clkops {
void (*enable)(struct clk *);
void (*disable)(struct clk *);
unsigned long (*getrate)(struct clk *);
+ int (*setrate)(struct clk *, unsigned long);
};
struct clk {