summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ixp4xx-2.6/patches/300-wg302v2.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ixp4xx-2.6/patches/300-wg302v2.patch b/target/linux/ixp4xx-2.6/patches/300-wg302v2.patch
index fc3de402d..8dc1d72d9 100644
--- a/target/linux/ixp4xx-2.6/patches/300-wg302v2.patch
+++ b/target/linux/ixp4xx-2.6/patches/300-wg302v2.patch
@@ -205,7 +205,7 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/wg302v2-setup.c linux-2.6.19.2-owr
+ platform_add_devices(wg302v2_devices, ARRAY_SIZE(wg302v2_devices));
+}
+
-+#ifdef CONFIG_ARCH_WG302V2
++#ifdef CONFIG_MACH_WG302V2
+MACHINE_START(WG302V2, "Netgear WG302 v2 / WAG302 v2")
+ /* Maintainer: Imre Kaloz <kaloz@openwrt.org> */
+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,