summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-11 19:37:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-11 19:37:11 +0000
commit323ece94748fe9be5ad67ee437cda61349df895c (patch)
treec41472dd44b4cba0907ea9dd102f63ea313b2a82
parent32b9e8c750598b88e6989455768f873e59064092 (diff)
downloadmtk-20170518-323ece94748fe9be5ad67ee437cda61349df895c.zip
mtk-20170518-323ece94748fe9be5ad67ee437cda61349df895c.tar.gz
mtk-20170518-323ece94748fe9be5ad67ee437cda61349df895c.tar.bz2
ramips: remove yet another CONFIG_MTD_PARTITION ifdef
SVN-Revision: 30462
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wcr150gn.c2
1 files changed, 0 insertions, 2 deletions
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 96a4495..07ae825 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)