projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: ath9k: enable platform WLAN LED name
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ath79
/
dev-ap9x-pci.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c
b/target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c
index d382453b1918502240738b33c10cb08b113c7026..bf80d4d0308f8de43291b771d71b48288bb0259f 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c
+++ b/
target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c
@@
-39,6
+39,18
@@
__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) {
__init struct ath9k_platform_data *ap9x_pci_get_wmac_data(unsigned wmac)
{
switch (wmac) {