[tools/mklibs] add missing includes ('unistd.h') for mklibs
[openwrt.git] / target / linux / lantiq / patches-3.2 / 0066-MIPS-lantiq-dont-always-register-asc0.patch
1 From ff4470f274b61cebaeb1586f2f462ff66b8041cb 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 66/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  }