aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/clock.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-03-20 16:00:08 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-21 17:06:18 -0500
commit6e8908edd5a140f4f0cc4338fa0420b0bb0f8efa (patch)
treef428e1725b3ee7fd295077b90d3fd491c2c61b30 /arch/arm/mach-s3c2410/clock.h
parentd2a02b93cf78205dd23226efb66481569900976e (diff)
[ARM] 3359/1: S3C24XX - add support for clk_set_rate
Patch from Ben Dooks Add support for clk_set_rate and clk_round_rate to the s3c2410 clock implementation 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 c4f36f006496..32864b30c1e0 100644
--- a/arch/arm/mach-s3c2410/clock.h
+++ b/arch/arm/mach-s3c2410/clock.h
@@ -21,6 +21,8 @@ struct clk {
21 unsigned long ctrlbit; 21 unsigned long ctrlbit;
22 22
23 int (*enable)(struct clk *, int enable); 23 int (*enable)(struct clk *, int enable);
24 int (*set_rate)(struct clk *c, unsigned long rate);
25 unsigned long (*round_rate)(struct clk *c, unsigned long rate);
24 int (*set_parent)(struct clk *c, struct clk *parent); 26 int (*set_parent)(struct clk *c, struct clk *parent);
25}; 27};
26 28