[ARM] 4791/1: S3C2412: Make fclk a parent of msysclk
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 Jan 2008 12:01:31 +0000 (13:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:52 +0000 (13:20 +0000)
In the S3C2412 fclk is derived from msysclk, not straight from
the MPLL output. Set clk_f.parent appropriately.

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

index 0f752500cd5ba6b5d391e0ae677718d17c293c2a..2697a65ba7271bcb58d80aeb24e2550872350979 100644 (file)
@@ -684,6 +684,8 @@ int __init s3c2412_baseclk_add(void)
        clk_usb_bus.parent = &clk_usbsrc;
        clk_usb_bus.rate = 0x0;
 
+       clk_f.parent = &clk_msysclk;
+
        s3c2412_clk_initparents();
 
        for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) {