From: John Crispin Date: Tue, 14 Feb 2012 19:07:05 +0000 (+0000) Subject: fix compile error in previous commit X-Git-Tag: reboot~14853 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7416a5f0aa7bd9a239baf7ded112d2339884aa8a;p=openwrt%2Fstaging%2Fpepe2k.git fix compile error in previous commit SVN-Revision: 30534 --- diff --git a/target/linux/lantiq/patches/206-owrt-brnboot.patch b/target/linux/lantiq/patches/206-owrt-brnboot.patch index c21d76d1f8..d10d66b1e2 100644 --- a/target/linux/lantiq/patches/206-owrt-brnboot.patch +++ b/target/linux/lantiq/patches/206-owrt-brnboot.patch @@ -1,7 +1,7 @@ -Index: linux-3.1.9/drivers/mtd/mtdpart.c +Index: linux-3.1.10/drivers/mtd/mtdpart.c =================================================================== ---- linux-3.1.9.orig/drivers/mtd/mtdpart.c 2012-01-29 22:55:30.295904157 +0100 -+++ linux-3.1.9/drivers/mtd/mtdpart.c 2012-01-29 22:55:30.395904294 +0100 +--- linux-3.1.10.orig/drivers/mtd/mtdpart.c 2012-02-14 19:38:40.102266817 +0100 ++++ linux-3.1.10/drivers/mtd/mtdpart.c 2012-02-14 19:38:40.146266819 +0100 @@ -899,6 +899,38 @@ return le32_to_cpu(temp) == SQUASHFS_MAGIC; } @@ -55,22 +55,22 @@ Index: linux-3.1.9/drivers/mtd/mtdpart.c } if (!detect_squashfs_partition(mtd, -Index: linux-3.1.9/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h +Index: linux-3.1.10/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h =================================================================== ---- linux-3.1.9.orig/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 2012-01-29 22:55:30.195904014 +0100 -+++ linux-3.1.9/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 2012-01-29 22:55:30.395904294 +0100 +--- linux-3.1.10.orig/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 2012-02-14 19:38:40.058266816 +0100 ++++ linux-3.1.10/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 2012-02-14 19:57:07.790314179 +0100 @@ -149,6 +149,7 @@ extern __iomem void *ltq_ebu_membase; extern __iomem void *ltq_cgu_membase; -+extern long ltq_brn_boot; ++extern unsigned long ltq_brn_boot; /* request a non-gpio and set the PIO config */ extern int ltq_gpio_request(unsigned int pin, unsigned int alt0, -Index: linux-3.1.9/arch/mips/lantiq/setup.c +Index: linux-3.1.10/arch/mips/lantiq/setup.c =================================================================== ---- linux-3.1.9.orig/arch/mips/lantiq/setup.c 2012-01-29 22:55:30.095903875 +0100 -+++ linux-3.1.9/arch/mips/lantiq/setup.c 2012-01-29 22:59:28.686237119 +0100 +--- linux-3.1.10.orig/arch/mips/lantiq/setup.c 2012-02-14 19:38:40.010266814 +0100 ++++ linux-3.1.10/arch/mips/lantiq/setup.c 2012-02-14 19:38:40.150266820 +0100 @@ -20,6 +20,8 @@ /* assume 16M as default incase uboot fails to pass proper ramsize */