aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/clock.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-03-20 17:10:04 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-21 22:06:03 +0000
commitd3468daab82d5195fe85322235896797d5581720 (patch)
treef4980daea0e4654a3e72cbfa61c82294036588f5 /arch/arm/mach-s3c2410/clock.h
parent[ARM] 3330/1: S3C24XX - move UPLL to main clock (diff)
downloadlinux-dev-d3468daab82d5195fe85322235896797d5581720.tar.xz
linux-dev-d3468daab82d5195fe85322235896797d5581720.zip
[ARM] 3331/1: S3C24XX - add clk_set_parent() to clock code
Patch from Ben Dooks Add clk_set_parent() call to clock code Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/clock.h')
-rw-r--r--arch/arm/mach-s3c2410/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/clock.h b/arch/arm/mach-s3c2410/clock.h
index eb5c95d1e7f2..c4f36f006496 100644
--- a/arch/arm/mach-s3c2410/clock.h
+++ b/arch/arm/mach-s3c2410/clock.h
@@ -19,7 +19,9 @@ struct clk {
int usage;
unsigned long rate;
unsigned long ctrlbit;
+
int (*enable)(struct clk *, int enable);
+ int (*set_parent)(struct clk *c, struct clk *parent);
};
/* other clocks which may be registered by board support */