summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch b/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
index 684db44751..e84ce9b582 100644
--- a/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/162-wg302v1_mem_fixup.patch
@@ -37,10 +37,10 @@
static void __init wg302v1_init(void)
{
ixp4xx_sys_init();
-@@ -133,6 +163,7 @@ MACHINE_START(WG302V1, "Netgear WG302 v1
+@@ -131,6 +161,7 @@ static void __init wg302v1_init(void)
+ #ifdef CONFIG_MACH_WG302V1
+ MACHINE_START(WG302V1, "Netgear WG302 v1 / WAG302 v1")
/* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
- .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
- .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .fixup = wg302v1_fixup,
.map_io = ixp4xx_map_io,
.init_irq = ixp4xx_init_irq,