From 2417cf679167fc778c0a77ff2e1f0ade2c797306 Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 8 Dec 2009 12:46:30 +0000 Subject: ar71xx: TL-WR1043ND support cleanup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr1043nd.c | 12 ++++++------ .../ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'target/linux/ar71xx/files') 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)); diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h index 575d1819c..48f6e0a65 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h @@ -139,7 +139,7 @@ enum ar71xx_mach_type { AR71XX_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */ AR71XX_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */ AR71XX_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */ - AR71XX_MACH_TL_WR1043ND,/* TP-LINK TL-WR1041ND */ + AR71XX_MACH_TL_WR1043ND, /* TP-LINK TL-WR1041ND */ AR71XX_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */ AR71XX_MACH_UBNT_LSX, /* Ubiquiti LSX */ AR71XX_MACH_UBNT_RS, /* Ubiquiti RouterStation */ -- cgit v1.2.3