aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-03-22 21:59:49 +0100
committerMathias Kresin <dev@kresin.me>2017-04-08 14:30:00 +0200
commit1f5ea4eae46e46a87353a751637ccb5d5cd5f60b (patch)
treeb3d2a1ae16ecbd743491f5665e0b9218728d74f3 /target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h
parentb06559e5b76adfbafb16965098994cd30e8ded9c (diff)
downloadupstream-1f5ea4eae46e46a87353a751637ccb5d5cd5f60b.tar.gz
upstream-1f5ea4eae46e46a87353a751637ccb5d5cd5f60b.tar.bz2
upstream-1f5ea4eae46e46a87353a751637ccb5d5cd5f60b.zip
ar71xx: add correct named default wireless led by using platform leds
Instead of renaming the default wireless led attached to the wireless chip, add a new led using the platform leds with the phy0tpt trigger set in userspace. When switching ar71xx to device tree, the same can be done by using the build in GPIO controller and without adding new bindings. Drop the now unused platform code. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h b/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h
index d7c018565e..d2a045fc1c 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h
+++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h
@@ -20,7 +20,6 @@ void ap9x_pci_setup_wmac_led_pin(unsigned wmac, int pin);
void ap9x_pci_setup_wmac_gpio(unsigned wmac, u32 mask, u32 val);
void ap9x_pci_setup_wmac_leds(unsigned wmac, struct gpio_led *leds,
int num_leds);
-void ap9x_pci_setup_wmac_led_name(unsigned wmac, const char *led_name);
void ap9x_pci_setup_wmac_btns(unsigned wmac, struct gpio_keys_button *btns,
unsigned num_btns, unsigned poll_interval);
struct ath9k_platform_data *ap9x_pci_get_wmac_data(unsigned wmac);
@@ -37,8 +36,6 @@ static inline void ap9x_pci_setup_wmac_gpio(unsigned wmac,
static inline void ap9x_pci_setup_wmac_leds(unsigned wmac,
struct gpio_led *leds,
int num_leds) {}
-static inline void ap9x_pci_setup_wmac_led_name(unsigned wmac,
- const char *led_name) {}
static inline void ap9x_pci_setup_wmac_btns(unsigned wmac,
struct gpio_keys_button *btns,
unsigned num_btns,