.offset = 0,
.size = 0x020000,
.mask_flags = MTD_WRITEABLE,
- } , {
+ }, {
.name = "kernel",
.offset = 0x020000,
.size = 0x140000,
- } , {
+ }, {
.name = "rootfs",
.offset = 0x160000,
.size = 0x290000,
- } , {
+ }, {
.name = "art",
.offset = 0x3f0000,
.size = 0x010000,
.mask_flags = MTD_WRITEABLE,
- } , {
+ }, {
.name = "firmware",
.offset = 0x020000,
.size = 0x3d0000,
static struct flash_platform_data tl_wa901nd_flash_data = {
#ifdef CONFIG_MTD_PARTITIONS
- .parts = tl_wa901nd_partitions,
- .nr_parts = ARRAY_SIZE(tl_wa901nd_partitions),
+ .parts = tl_wa901nd_partitions,
+ .nr_parts = ARRAY_SIZE(tl_wa901nd_partitions),
#endif
};
ar71xx_add_device_m25p80(&tl_wa901nd_flash_data);
ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(tl_wa901nd_leds_gpio),
- tl_wa901nd_leds_gpio);
+ tl_wa901nd_leds_gpio);
ar71xx_add_device_gpio_buttons(-1, TL_WA901ND_BUTTONS_POLL_INTERVAL,
- ARRAY_SIZE(tl_wa901nd_gpio_buttons),
- tl_wa901nd_gpio_buttons);
+ ARRAY_SIZE(tl_wa901nd_gpio_buttons),
+ tl_wa901nd_gpio_buttons);
ap91_pci_init(ee, mac);
}
MIPS_MACHINE(AR71XX_MACH_TL_WA901ND, "TL-WA901ND", "TP-LINK TL-WA901ND",
- tl_wa901nd_setup);
+ tl_wa901nd_setup);