aacb8bbeb0dbc94960f28648e65ea35bfdc045b1
[openwrt.git] / target / linux / ar71xx / patches-3.8 / 166-MIPS-ath79-register-UART-for-the-QCA955X-SoCs.patch
1 From f7d7b362b51c51c1ae80bb7ade2039d6f74d4070 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Sun, 24 Jun 2012 13:46:26 +0200
4 Subject: [PATCH 22/34] MIPS: ath79: register UART for the QCA955X SoCs
5
6 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
7 ---
8  arch/mips/ath79/dev-common.c |    3 ++-
9  1 files changed, 2 insertions(+), 1 deletions(-)
10
11 --- a/arch/mips/ath79/dev-common.c
12 +++ b/arch/mips/ath79/dev-common.c
13 @@ -90,7 +90,8 @@ void __init ath79_register_uart(void)
14         if (soc_is_ar71xx() ||
15             soc_is_ar724x() ||
16             soc_is_ar913x() ||
17 -           soc_is_ar934x()) {
18 +           soc_is_ar934x() ||
19 +           soc_is_qca955x()) {
20                 ath79_uart_data[0].uartclk = clk_get_rate(clk);
21                 platform_device_register(&ath79_uart_device);
22         } else if (soc_is_ar933x()) {