summaryrefslogtreecommitdiff
path: root/arch/mips/ath79/dev-common.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-14 09:45:27 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2012-05-15 15:49:10 (GMT)
commit9800bdc797b12835e1e36ebe8b82874c606bc11d (patch)
treeff07dd8e6276931f984d53c080bd774de257073f /arch/mips/ath79/dev-common.c
parent42184768b36b2dad88a3705d689891b5da884c85 (diff)
downloadlinux-9800bdc797b12835e1e36ebe8b82874c606bc11d.tar.xz
MIPS: ath79: register UART device for AR934X SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Cc: linux-mips@linux-mips.org Cc: mcgrof@infradead.org Patchwork: https://patchwork.linux-mips.org/patch/3512/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79/dev-common.c')
-rw-r--r--arch/mips/ath79/dev-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/ath79/dev-common.c b/arch/mips/ath79/dev-common.c
index f4956f8..45efc63 100644
--- a/arch/mips/ath79/dev-common.c
+++ b/arch/mips/ath79/dev-common.c
@@ -89,7 +89,8 @@ void __init ath79_register_uart(void)
if (soc_is_ar71xx() ||
soc_is_ar724x() ||
- soc_is_ar913x()) {
+ soc_is_ar913x() ||
+ soc_is_ar934x()) {
ath79_uart_data[0].uartclk = clk_get_rate(clk);
platform_device_register(&ath79_uart_device);
} else if (soc_is_ar933x()) {