summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/uart_cpu_ar933x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/atheros/uart_cpu_ar933x.c')
-rw-r--r--sys/mips/atheros/uart_cpu_ar933x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/atheros/uart_cpu_ar933x.c b/sys/mips/atheros/uart_cpu_ar933x.c
index 4a24add..d23a5c8 100644
--- a/sys/mips/atheros/uart_cpu_ar933x.c
+++ b/sys/mips/atheros/uart_cpu_ar933x.c
@@ -58,7 +58,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
{
uint64_t freq;
- freq = ar71xx_ahb_freq();
+ freq = ar71xx_refclk();
di->ops = uart_getops(&uart_ar933x_class);
di->bas.chan = 0;
OpenPOWER on IntegriCloud