]> git.baikalelectronics.ru Git - kernel.git/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)
commit509535e8f1d9e7c3d33ca496f2b0a25ed77bacc6
tree55b34b892da1a64f62d7ae922c75fa903247e208
parent77f4d05bcf2f5b82cf5c1d2f3a0bc380a12f2e7e
[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