X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Farch%2Fmips%2Far71xx%2Fmach-tl-wr1043nd.c;fp=target%2Flinux%2Far71xx%2Ffiles%2Farch%2Fmips%2Far71xx%2Fmach-tl-wr1043nd.c;h=d4dcd5a33327af00d8eee8a604425cb95bae9c91;hp=e67282e6daa84e22e0aae7b1e42eb9eef074bdc5;hb=2417cf679167fc778c0a77ff2e1f0ade2c797306;hpb=bfbc6bd89d38caa27008f9e93b41d279d244ed20 diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c index e67282e6d..d4dcd5a33 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c @@ -50,7 +50,7 @@ static struct mtd_partition tl_wr1043nd_partitions[] = { .size = 0x010000, .mask_flags = MTD_WRITEABLE, } , { - .name = "firmware", + .name = "firmware", .offset = 0x020000, .size = 0x7d0000, } @@ -59,8 +59,8 @@ static struct mtd_partition tl_wr1043nd_partitions[] = { static struct flash_platform_data tl_wr1043nd_flash_data = { #ifdef CONFIG_MTD_PARTITIONS - .parts = tl_wr1043nd_partitions, - .nr_parts = ARRAY_SIZE(tl_wr1043nd_partitions), + .parts = tl_wr1043nd_partitions, + .nr_parts = ARRAY_SIZE(tl_wr1043nd_partitions), #endif }; @@ -116,11 +116,11 @@ static void __init tl_wr1043nd_setup(void) ar71xx_eth0_data.phy_mask = 0x0; ar71xx_eth0_data.speed = SPEED_1000; ar71xx_eth0_data.duplex = DUPLEX_FULL; - + ar71xx_add_device_eth(0); - + ar71xx_add_device_usb(); - + ar71xx_add_device_spi(NULL, tl_wr1043nd_spi_info, ARRAY_SIZE(tl_wr1043nd_spi_info));