summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
index 03de1fc6f8..05ce97765b 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c
@@ -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: