summaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch b/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch
index c54931495..b11ffd975 100644
--- a/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.37/120-compex_support.patch
@@ -50,7 +50,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
obj-$(CONFIG_IXP4XX_QMGR) += ixp4xx_qmgr.o
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/compex-setup.c
-@@ -0,0 +1,136 @@
+@@ -0,0 +1,134 @@
+/*
+ * arch/arm/mach-ixp4xx/compex-setup.c
+ *
@@ -179,8 +179,6 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
+
+MACHINE_START(COMPEX, "Compex WP18 / NP18A")
+ /* Maintainer: Imre Kaloz <Kaloz@openwrt.org> */
-+ .phys_io = IXP4XX_PERIPHERAL_BASE_PHYS,
-+ .io_pg_offst = ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc,
+ .map_io = ixp4xx_map_io,
+ .init_irq = ixp4xx_init_irq,
+ .timer = &ixp4xx_timer,