2c7eecabf70b76e1bff52c2d1379b8d719e051ea
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 127-MIPS-ath79-register-UART-device-for-AR934X-SoCs.patch
1 From 2d4ed1c7405d05da812b67830eaac15f43b862b7 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Wed, 14 Mar 2012 10:45:27 +0100
4 Subject: [PATCH 32/47] MIPS: ath79: register UART device for AR934X SoCs
5
6 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
7 Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
8 Cc: linux-mips@linux-mips.org
9 Cc: mcgrof@infradead.org
10 Patchwork: https://patchwork.linux-mips.org/patch/3512/
11 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
12 ---
13 arch/mips/ath79/dev-common.c | 3 ++-
14 1 files changed, 2 insertions(+), 1 deletions(-)
15
16 --- a/arch/mips/ath79/dev-common.c
17 +++ b/arch/mips/ath79/dev-common.c
18 @@ -89,7 +89,8 @@ void __init ath79_register_uart(void)
19
20 if (soc_is_ar71xx() ||
21 soc_is_ar724x() ||
22 - soc_is_ar913x()) {
23 + soc_is_ar913x() ||
24 + soc_is_ar934x()) {
25 ath79_uart_data[0].uartclk = clk_get_rate(clk);
26 platform_device_register(&ath79_uart_device);
27 } else if (soc_is_ar933x()) {