From: Gabor Juhos <juhosg@openwrt.org>
Date: Sat, 11 Feb 2012 19:37:11 +0000 (+0000)
Subject: ramips: remove yet another CONFIG_MTD_PARTITION ifdef
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=323ece94748fe9be5ad67ee437cda61349df895c;p=openwrt%2Fstaging%2Fnbd.git

ramips: remove yet another CONFIG_MTD_PARTITION ifdef

SVN-Revision: 30462
---

diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c
index 96a449527f..07ae825cb1 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c
@@ -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)