ramips: remove yet another CONFIG_MTD_PARTITION ifdef
authorGabor Juhos <juhosg@openwrt.org>
Sat, 11 Feb 2012 19:37:11 +0000 (19:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 11 Feb 2012 19:37:11 +0000 (19:37 +0000)
SVN-Revision: 30462

target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c

index 96a4495..07ae825 100644 (file)
@@ -93,10 +93,8 @@ static struct mtd_partition wcr150gn_partitions[] = {
 };
 
 static struct physmap_flash_data wcr150gn_flash_data = {
-#ifdef CONFIG_MTD_PARTITIONS
        .nr_parts       = ARRAY_SIZE(wcr150gn_partitions),
        .parts          = wcr150gn_partitions,
-#endif
 };
 
 static void __init wcr150gn_init(void)