ar71xx: fix uart clock frequency for AR933X
authorGabor Juhos <juhosg@openwrt.org>
Sun, 19 Jun 2011 13:17:50 +0000 (13:17 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 19 Jun 2011 13:17:50 +0000 (13:17 +0000)
SVN-Revision: 27221

target/linux/ar71xx/files/arch/mips/ar71xx/devices.c

index 03de1fc6f8180a7e29c17db9f96e6cb1fca1d82c..05ce97765bc0b9fbd69f1101cc03933f5ec5b9df 100644 (file)
@@ -102,7 +102,7 @@ void __init ar71xx_add_device_uart(void)
        case AR71XX_SOC_AR9330:
        case AR71XX_SOC_AR9331:
                pdev = &ar933x_uart_device;
-               ar933x_uart_data.uartclk = ar71xx_ahb_freq;
+               ar933x_uart_data.uartclk = ar71xx_ref_freq;
                break;
 
        case AR71XX_SOC_AR9341: