]> err.no Git - linux-2.6/commit
[ARM] 3628/1: S3C24XX: add get_rate call to struct clk
authorBen Dooks <ben-linux@fluff.org>
Thu, 22 Jun 2006 21:18:21 +0000 (22:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Jun 2006 21:18:21 +0000 (22:18 +0100)
commit92b7eb8ffc0741f1fd5fbd5458a466d608310442
tree55b34b892da1a64f62d7ae922c75fa903247e208
parent99c13853ffa26dd6527995b3f47548e075f201fb
[ARM] 3628/1: S3C24XX: add get_rate call to struct clk

Patch from Ben Dooks

Add a get_rate call to allow an given clock
to over-ride the clk_get_rate() call.

This provides support for clocks which rely on
division of their parent to correctly report
their frequency when the parent can also change.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/clock.c
arch/arm/mach-s3c2410/clock.h