From: juhosg Date: Fri, 1 Feb 2013 15:50:37 +0000 (+0000) Subject: ar71xx: remove unused OpenMesh MR6000 platform code X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=70e170be6c6b61aa282fe9149f349a71a0b6d912;p=openwrt.git ar71xx: remove unused OpenMesh MR6000 platform code Signed-off-by: Marek Lindner Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35426 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c index b05df66764..f47aad3783 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c @@ -37,8 +37,6 @@ #define MR600_GPIO_LED_WLAN58 12 #define MR600_GPIO_LED_WPS 13 #define MR600_GPIO_LED_POWER 14 -#define MR600_GPIO_LED_WLAN24 15 -#define MR600_GPIO_LED_LAN 16 #define MR600_GPIO_BTN_RESET 17 @@ -61,20 +59,10 @@ static struct gpio_led mr600_leds_gpio[] __initdata = { .active_low = 1, }, { - .name = "mr600:green:wlan24", - .gpio = MR600_GPIO_LED_WLAN24, - .active_low = 1, - }, - { .name = "mr600:green:wlan58", .gpio = MR600_GPIO_LED_WLAN58, .active_low = 1, }, - { - .name = "mr600:blue:lan", - .gpio = MR600_GPIO_LED_LAN, - .active_low = 1, - }, }; static struct gpio_keys_button mr600_gpio_keys[] __initdata = { @@ -93,9 +81,6 @@ static void __init mr600_setup(void) u8 *art = (u8 *) KSEG1ADDR(0x1fff0000); u8 mac[6]; - ath79_gpio_output_select(MR600_GPIO_LED_LAN, AR934X_GPIO_OUT_GPIO); - ath79_gpio_output_select(MR600_GPIO_LED_WLAN24, AR934X_GPIO_OUT_GPIO); - ath79_register_m25p80(NULL); ath79_register_leds_gpio(-1, ARRAY_SIZE(mr600_leds_gpio),