mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-20 10:51:27 +00:00
23 lines
495 B
Diff
23 lines
495 B
Diff
--- a/drivers/net/wireless/ath/ath9k/gpio.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/gpio.c
|
|
@@ -15,6 +15,7 @@
|
|
*/
|
|
|
|
#include "ath9k.h"
|
|
+#include <linux/ath9k_platform.h>
|
|
|
|
/********************************/
|
|
/* LED functions */
|
|
--- a/include/linux/ath9k_platform.h
|
|
+++ b/include/linux/ath9k_platform.h
|
|
@@ -46,6 +46,9 @@ struct ath9k_platform_data {
|
|
int (*external_reset)(void);
|
|
|
|
bool use_eeprom;
|
|
+
|
|
+ int num_leds;
|
|
+ const struct gpio_led *leds;
|
|
};
|
|
|
|
#endif /* _LINUX_ATH9K_PLATFORM_H */
|