[lantiq] adds zyxel p2601hnfx support
[openwrt/svn-archive/archive.git] / target / linux / lantiq / patches-3.3 / 0062-MIPS-lantiq-dont-always-register-asc0.patch
1 From d9acb5a4a0b3781a63f805695319fc8d2d4ec427 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Tue, 20 Mar 2012 08:22:11 +0100
4 Subject: [PATCH 62/70] MIPS: lantiq: dont always register asc0
5
6 ---
7 arch/mips/lantiq/xway/prom.c | 6 ++----
8 1 files changed, 2 insertions(+), 4 deletions(-)
9
10 --- a/arch/mips/lantiq/xway/prom.c
11 +++ b/arch/mips/lantiq/xway/prom.c
12 @@ -101,12 +101,10 @@ void __init ltq_soc_detect(struct ltq_so
13
14 void __init ltq_soc_setup(void)
15 {
16 - if (ltq_is_ase()) {
17 + if (ltq_is_ase())
18 ltq_register_ase_asc();
19 - } else {
20 - ltq_register_asc(0);
21 + else
22 ltq_register_asc(1);
23 - }
24 ltq_register_gpio();
25 ltq_register_wdt();
26 }