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,
}
}
};
-#ifdef CONFIG_MTD_PARTITIONS
static struct mtd_partition argus_atp52b_partitions[] = {
{
.name = "bootloader",
}, {
.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)