summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl341v3.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl341v3.c')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl341v3.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl341v3.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl341v3.c
index 9341be3bee..a3c4485584 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl341v3.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl341v3.c
@@ -35,7 +35,6 @@
#define WL341V3_BUTTONS_POLL_INTERVAL 20
-#ifdef CONFIG_MTD_PARTITIONS
static struct mtd_partition wl341v3_partitions[] = {
{
.name = "u-boot",
@@ -74,13 +73,10 @@ static struct mtd_partition wl341v3_partitions[] = {
.size = 0x400000,
}
};
-#endif /* CONFIG_MTD_PARTITIONS */
static struct physmap_flash_data wl341v3_flash_data = {
-#ifdef CONFIG_MTD_PARTITIONS
.nr_parts = ARRAY_SIZE(wl341v3_partitions),
.parts = wl341v3_partitions,
-#endif
};
static struct gpio_led wl341v3_leds_gpio[] __initdata = {