ar71xx: add initial support for 3.2
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.2 / 129-MIPS-ath79-register-UART-device-for-AR934X-SoCs.patch
1 From 6b6803a249a27aa708bc5f24aa15270e30f3de61 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Sat, 10 Dec 2011 19:55:05 +0100
4 Subject: [PATCH 29/35] 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 ---
9 arch/mips/ath79/dev-common.c | 3 ++-
10 1 files changed, 2 insertions(+), 1 deletions(-)
11
12 --- a/arch/mips/ath79/dev-common.c
13 +++ b/arch/mips/ath79/dev-common.c
14 @@ -89,7 +89,8 @@ void __init ath79_register_uart(void)
15
16 if (soc_is_ar71xx() ||
17 soc_is_ar724x() ||
18 - soc_is_ar913x()) {
19 + soc_is_ar913x() ||
20 + soc_is_ar934x()) {
21 ath79_uart_data[0].uartclk = clk_get_rate(clk);
22 platform_device_register(&ath79_uart_device);
23 } else if (soc_is_ar933x()) {