diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-06-30 12:15:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-06-30 12:15:33 +0000 |
commit | f9e4619b97c6db6d4003cc3475ad3cc285d10367 (patch) | |
tree | 5c398425c9fb9d4a549b73f5714aec08f63ba253 /target | |
parent | 8f0fb81dfeff3b05f097905064172f7d8f2c9ed6 (diff) | |
download | upstream-f9e4619b97c6db6d4003cc3475ad3cc285d10367.tar.gz upstream-f9e4619b97c6db6d4003cc3475ad3cc285d10367.tar.bz2 upstream-f9e4619b97c6db6d4003cc3475ad3cc285d10367.zip |
ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H code
The config option has been removed in 2.6.39.
SVN-Revision: 27320
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-ag300h.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-ag300h.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-ag300h.c index e75221749a..2509a27568 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-ag300h.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-ag300h.c @@ -28,8 +28,6 @@ #define WZRHPAG300H_KEYS_POLL_INTERVAL 20 /* msecs */ #define WZRHPAG300H_KEYS_DEBOUNCE_INTERVAL (3 * WZRHPAG300H_KEYS_POLL_INTERVAL) -#ifdef CONFIG_MTD_CONCAT - #ifdef CONFIG_MTD_PARTITIONS static struct mtd_partition wzrhpag300h_flash_partitions[] = { { @@ -122,8 +120,6 @@ static void add_mtd_concat_notifier(void) register_mtd_user(¬); } -#endif - static struct gpio_led wzrhpag300h_leds_gpio[] __initdata = { { .name = "wzr-hp-ag300h:red:diag", @@ -222,9 +218,7 @@ static void __init wzrhpag300h_setup(void) ar71xx_add_device_spi(NULL, ar71xx_spi_info, ARRAY_SIZE(ar71xx_spi_info)); -#ifdef CONFIG_MTD_CONCAT add_mtd_concat_notifier(); -#endif ap94_pci_init(eeprom1, mac1, eeprom2, mac2); } |