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)