ar71xx: remove unused OpenMesh MR6000 platform code
authorGabor Juhos <juhosg@openwrt.org>
Fri, 1 Feb 2013 15:50:37 +0000 (15:50 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 1 Feb 2013 15:50:37 +0000 (15:50 +0000)
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35426

target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c

index b05df66764a262417f20a3148098d62ac4c0c766..f47aad3783dbdf9174aabb809524a4ca9a76ad98 100644 (file)
@@ -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),