From 69cef1be4d42928354f15a013b30f980acf6d832 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Fri, 1 Feb 2013 15:50:37 +0000 Subject: [PATCH] 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 --- .../ar71xx/files/arch/mips/ath79/mach-mr600.c | 15 --------------- 1 file changed, 15 deletions(-) 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),