diff options
author | John Crispin <john@openwrt.org> | 2011-07-07 18:20:07 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-07-07 18:20:07 +0000 |
commit | dc69e5f2e345482f18557c3629643d03d3b0db76 (patch) | |
tree | 1b8c590c4518d6da8d344e4e4cfdc6f53b5c331f /target/linux/lantiq/patches-3.0/450-mach-arv45xx.patch | |
parent | 35309dbbc87bcacd9b58f0964f799191ce5ab1a3 (diff) | |
download | master-31e0f0ae-dc69e5f2e345482f18557c3629643d03d3b0db76.tar.gz master-31e0f0ae-dc69e5f2e345482f18557c3629643d03d3b0db76.tar.bz2 master-31e0f0ae-dc69e5f2e345482f18557c3629643d03d3b0db76.zip |
remove CONFIG_MTD_PARTITIONS references from lantiq 3.0 patches
SVN-Revision: 27532
Diffstat (limited to 'target/linux/lantiq/patches-3.0/450-mach-arv45xx.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.0/450-mach-arv45xx.patch | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/target/linux/lantiq/patches-3.0/450-mach-arv45xx.patch b/target/linux/lantiq/patches-3.0/450-mach-arv45xx.patch index 05b28b798f..711dd76768 100644 --- a/target/linux/lantiq/patches-3.0/450-mach-arv45xx.patch +++ b/target/linux/lantiq/patches-3.0/450-mach-arv45xx.patch @@ -20,7 +20,7 @@ +obj-$(CONFIG_LANTIQ_MACH_ARV45XX) += mach-arv45xx.o --- /dev/null +++ b/arch/mips/lantiq/xway/mach-arv45xx.c -@@ -0,0 +1,504 @@ +@@ -0,0 +1,495 @@ +/* + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published @@ -50,7 +50,6 @@ +#include "dev-leds-gpio.h" +#include "dev-dwc_otg.h" + -+#ifdef CONFIG_MTD_PARTITIONS +static struct mtd_partition arv4510_partitions[] = +{ + { @@ -123,27 +122,19 @@ + }, +}; + -+#endif -+ +static struct physmap_flash_data arv4510_flash_data = { -+#ifdef CONFIG_MTD_PARTITIONS + .nr_parts = ARRAY_SIZE(arv4510_partitions), + .parts = arv4510_partitions, -+#endif +}; + +static struct physmap_flash_data arv45xx_flash_data = { -+#ifdef CONFIG_MTD_PARTITIONS + .nr_parts = ARRAY_SIZE(arv45xx_partitions), + .parts = arv45xx_partitions, -+#endif +}; + +static struct physmap_flash_data arv75xx_flash_data = { -+#ifdef CONFIG_MTD_PARTITIONS + .nr_parts = ARRAY_SIZE(arv75xx_partitions), + .parts = arv75xx_partitions, -+#endif +}; + +static struct ltq_pci_data ltq_pci_data = { |