ar71xx: add correct named default wireless led by using platform leds
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / dev-ap9x-pci.c
index 20bb06e4867a78aae60485d0c6c7a38e82c2997c..483aed78edeae6e53136ba2a15ca67c59ba554db 100644 (file)
@@ -39,18 +39,6 @@ __init void ap9x_pci_setup_wmac_led_pin(unsigned wmac, int pin)
        }
 }
 
-__init void ap9x_pci_setup_wmac_led_name(unsigned wmac, const char *led_name)
-{
-       switch (wmac) {
-       case 0:
-               ap9x_wmac0_data.led_name = led_name;
-               break;
-       case 1:
-               ap9x_wmac1_data.led_name = led_name;
-               break;
-       }
-}
-
 __init struct ath9k_platform_data *ap9x_pci_get_wmac_data(unsigned wmac)
 {
        switch (wmac) {