X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2a62a21658e63c939a91de4bd7cf9c28251efe1e..a88c8014e588a72efc8f83fecc5ce666a21b0e39:/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wl341v3.c 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 9341be3be..a3c448558 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 = {