X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Farch%2Fmips%2Far71xx%2Fmach-tl-wa901nd.c;h=3193262c7dbaae4059bfb3378bd19b7dcee632a7;hb=2f1a711584c1fa86813e27400fc36641fab25aba;hp=da694683948797cb00ec03e882270855efe1b402;hpb=d49e166afb0d0d685a44cee3ea9722f9938d4d6a;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa901nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa901nd.c index da69468394..3193262c7d 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa901nd.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wa901nd.c @@ -36,20 +36,20 @@ static struct mtd_partition tl_wa901nd_partitions[] = { .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, @@ -59,8 +59,8 @@ static struct mtd_partition tl_wa901nd_partitions[] = { 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 }; @@ -116,14 +116,14 @@ static void __init tl_wa901nd_setup(void) 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);