From: Gabor Juhos Date: Fri, 1 Feb 2013 15:50:37 +0000 (+0000) Subject: ar71xx: remove unused OpenMesh MR6000 platform code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fe3db74276c97ba7b927b63b6acd32c51c6a50c1;p=openwrt%2Fstaging%2Faparcar.git ar71xx: remove unused OpenMesh MR6000 platform code Signed-off-by: Marek Lindner Signed-off-by: Gabor Juhos SVN-Revision: 35426 --- 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 @@ -60,21 +58,11 @@ static struct gpio_led mr600_leds_gpio[] __initdata = { .gpio = MR600_GPIO_LED_WPS, .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),