summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.34
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-08-15 05:39:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-08-15 05:39:31 +0000
commit670b7360051c72c26d72960d6ca61327902eb77c (patch)
treeabaa8ad895a661a54c2fe24ce7209ae31518bf90 /target/linux/ixp4xx/patches-2.6.34
parentff374f247ea6d4f491d1543431e7d96bccd9645f (diff)
downloadmtk-20170518-670b7360051c72c26d72960d6ca61327902eb77c.zip
mtk-20170518-670b7360051c72c26d72960d6ca61327902eb77c.tar.gz
mtk-20170518-670b7360051c72c26d72960d6ca61327902eb77c.tar.bz2
ixp4xx: fix compiler warnings in wrt300nv2-setup.c
SVN-Revision: 22655
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.34')
-rw-r--r--target/linux/ixp4xx/patches-2.6.34/132-wrt300nv2_mac_fix.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.34/132-wrt300nv2_mac_fix.patch b/target/linux/ixp4xx/patches-2.6.34/132-wrt300nv2_mac_fix.patch
index cc891e2..381cc5b 100644
--- a/target/linux/ixp4xx/patches-2.6.34/132-wrt300nv2_mac_fix.patch
+++ b/target/linux/ixp4xx/patches-2.6.34/132-wrt300nv2_mac_fix.patch
@@ -26,17 +26,18 @@
.rxq = 3,
.txreadyq = 20,
}, {
-@@ -111,6 +114,9 @@ static struct platform_device *wrt300nv2
+@@ -110,6 +113,10 @@ static struct platform_device *wrt300nv2
+
static void __init wrt300nv2_init(void)
{
- ixp4xx_sys_init();
+ uint8_t __iomem *f;
+ int offset = 0;
+ int i;
++
+ ixp4xx_sys_init();
wrt300nv2_flash_resource.start = IXP4XX_EXP_BUS_BASE(0);
- wrt300nv2_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + SZ_32M - 1;
-@@ -119,6 +125,32 @@ static void __init wrt300nv2_init(void)
+@@ -119,6 +126,32 @@ static void __init wrt300nv2_init(void)
*IXP4XX_EXP_CS1 = *IXP4XX_EXP_CS0;
platform_add_devices(wrt300nv2_devices, ARRAY_SIZE(wrt300nv2_devices));