X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8aeb0454068e88ea3b7383411e5131e169f053d0..f9626b56d535667990d566ffeb3a3397a58deed2:/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c index dfcdfeeb2..d1c517029 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c @@ -31,12 +31,12 @@ static struct gpio_led argus_atp52b_leds_gpio[] __initdata = { { - .name = "argus_atp52b:green:run", + .name = "argus-atp52b:green:run", .gpio = ARGUS_ATP52B_GPIO_LED_RUN, .active_low = 1, }, { - .name = "argus_atp52b:amber:net", + .name = "argus-atp52b:amber:net", .gpio = ARGUS_ATP52B_GPIO_LED_NET, .active_low = 1, } @@ -61,7 +61,6 @@ static struct gpio_button argus_atp52b_gpio_buttons[] __initdata = { } }; -#ifdef CONFIG_MTD_PARTITIONS static struct mtd_partition argus_atp52b_partitions[] = { { .name = "bootloader", @@ -85,16 +84,13 @@ static struct mtd_partition argus_atp52b_partitions[] = { }, { .name = "rootfs", .offset = 0x170000, - .size = 0x680000, + .size = 0x690000, } }; -#endif /* CONFIG_MTD_PARTITIONS */ static struct physmap_flash_data argus_atp52b_flash_data = { -#ifdef CONFIG_MTD_PARTITIONS .nr_parts = ARRAY_SIZE(argus_atp52b_partitions), .parts = argus_atp52b_partitions, -#endif }; static void __init argus_atp52b_init(void)