diff options
Diffstat (limited to 'target/linux/ixp4xx/patches/520-compex_mtd_microcode.patch')
-rw-r--r-- | target/linux/ixp4xx/patches/520-compex_mtd_microcode.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/target/linux/ixp4xx/patches/520-compex_mtd_microcode.patch b/target/linux/ixp4xx/patches/520-compex_mtd_microcode.patch index 90842239c0..c330ed1908 100644 --- a/target/linux/ixp4xx/patches/520-compex_mtd_microcode.patch +++ b/target/linux/ixp4xx/patches/520-compex_mtd_microcode.patch @@ -1,6 +1,7 @@ -diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/compex-setup.c linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/compex-setup.c ---- linux-2.6.19.2/arch/arm/mach-ixp4xx/compex-setup.c 2007-04-09 20:51:57.000000000 +0200 -+++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/compex-setup.c 2007-04-09 21:48:22.000000000 +0200 +Index: linux-2.6.21.7/arch/arm/mach-ixp4xx/compex-setup.c +=================================================================== +--- linux-2.6.21.7.orig/arch/arm/mach-ixp4xx/compex-setup.c ++++ linux-2.6.21.7/arch/arm/mach-ixp4xx/compex-setup.c @@ -17,6 +17,7 @@ #include <linux/serial.h> #include <linux/tty.h> @@ -9,7 +10,7 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/compex-setup.c linux-2.6.19.2-owrt #include <linux/slab.h> #include <asm/types.h> -@@ -136,11 +137,34 @@ +@@ -136,11 +137,34 @@ static struct platform_device mac1 = { .resource = &res_mac1, }; @@ -44,7 +45,7 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/compex-setup.c linux-2.6.19.2-owrt }; static void __init compex_init(void) -@@ -152,6 +176,8 @@ +@@ -152,6 +176,8 @@ static void __init compex_init(void) IXP4XX_EXP_BUS_BASE(0) + ixp4xx_exp_bus_size - 1; platform_add_devices(compex_devices, ARRAY_SIZE(compex_devices)); @@ -52,4 +53,4 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/compex-setup.c linux-2.6.19.2-owrt + register_mtd_user(&compex_flash_notifier); } - #ifdef CONFIG_ARCH_COMPEX + #ifdef CONFIG_MACH_COMPEX |