[ARM] 4777/1: S3C24XX: Ensure clk_set_rate() checks the set_rate method for the clk
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 Jan 2008 12:01:17 +0000 (13:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:50 +0000 (13:20 +0000)
commit57c1b0f8dbfffaa00a242b171429e56489caef15
treee3e0a1c1002cf216c459aa54f546b20ced5d826f
parentf7275dac55008f8296cfb89a01b1e71918ac7995
[ARM] 4777/1: S3C24XX: Ensure clk_set_rate() checks the set_rate method for the clk

Add checks for clk_set_rate() and ensure that we do not allow set_rate
to be called for a clock that does not have it defined. Add default
methods for fclk, hclk, pclk and mpll.

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