ARM: 5953/1: ep93xx: fix broken build of clock.c
authorHartley Sweeten <hartleys@visionengravers.com>
Tue, 23 Feb 2010 20:20:31 +0000 (21:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Feb 2010 21:08:35 +0000 (21:08 +0000)
Patch 5879/1: ep93xx: define magic numbers for pll1 and pll2 broke
the ep93xx build due to one missing rename of EP93XX_SYSCON_CLOCK_SET2.
The correct name should be EP93XX_SYSCON_CLKSET2.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/clock.c

index 27e3351..49fa9f8 100644 (file)
@@ -463,7 +463,7 @@ static int __init ep93xx_clock_init(void)
        ep93xx_dma_clock_init();
 
        /* Determine the bootloader configured pll2 rate */
-       value = __raw_readl(EP93XX_SYSCON_CLOCK_SET2);
+       value = __raw_readl(EP93XX_SYSCON_CLKSET2);
        if (!(value & EP93XX_SYSCON_CLKSET2_NBYP2))
                clk_pll2.rate = clk_xtali.rate;
        else if (value & EP93XX_SYSCON_CLKSET2_PLL2_EN)