aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.2/0065-MIPS-lantiq-dont-always-register-asc0.patch
blob: e8c3ffe9d81ea0d45c53d5fa8589aee87f393b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 75ecc8a55268df4eee6c97f8236a42c82fde44b2 Mon Sep 17 00:00:00 2001
From: John Crispin <blogic@openwrt.org>
Date: Tue, 20 Mar 2012 08:22:11 +0100
Subject: [PATCH 65/73] MIPS: lantiq: dont always register asc0

---
 arch/mips/lantiq/xway/prom.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c
index e3dcbbd..f776d5a 100644
--- a/arch/mips/lantiq/xway/prom.c
+++ b/arch/mips/lantiq/xway/prom.c
@@ -101,12 +101,10 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
 
 void __init ltq_soc_setup(void)
 {
-	if (ltq_is_ase()) {
+	if (ltq_is_ase())
 		ltq_register_ase_asc();
-	} else {
-		ltq_register_asc(0);
+	else
 		ltq_register_asc(1);
-	}
 	ltq_register_gpio();
 	ltq_register_wdt();
 }
-- 
1.7.9.1