[lantiq] update 3.2 patches
[openwrt.git] / target / linux / lantiq / patches-3.2 / 0065-MIPS-lantiq-dont-always-register-asc0.patch
1 From 75ecc8a55268df4eee6c97f8236a42c82fde44b2 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 65/73] 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 diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c
11 index e3dcbbd..f776d5a 100644
12 --- a/arch/mips/lantiq/xway/prom.c
13 +++ b/arch/mips/lantiq/xway/prom.c
14 @@ -101,12 +101,10 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
15  
16  void __init ltq_soc_setup(void)
17  {
18 -       if (ltq_is_ase()) {
19 +       if (ltq_is_ase())
20                 ltq_register_ase_asc();
21 -       } else {
22 -               ltq_register_asc(0);
23 +       else
24                 ltq_register_asc(1);
25 -       }
26         ltq_register_gpio();
27         ltq_register_wdt();
28  }
29 -- 
30 1.7.9.1
31