aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ath9k_platform.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-19 08:55:40 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-03-30 14:15:15 -0400
commit6de66dd963ddd669667a81a2401f2fd6472ff55c (patch)
tree4ab0cca2a88c388f93c3bfe6af6f022a894af0c5 /include/linux/ath9k_platform.h
parent6fb1b1e18fe3d141c54182c5d5b3af823bed455f (diff)
ath9k: add support for overriding LED pin and GPIO settings from platform data
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ath9k_platform.h')
-rw-r--r--include/linux/ath9k_platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h
index b5f06583a1ba..020387a114e3 100644
--- a/include/linux/ath9k_platform.h
+++ b/include/linux/ath9k_platform.h
@@ -24,6 +24,10 @@
24struct ath9k_platform_data { 24struct ath9k_platform_data {
25 u16 eeprom_data[ATH9K_PLAT_EEP_MAX_WORDS]; 25 u16 eeprom_data[ATH9K_PLAT_EEP_MAX_WORDS];
26 u8 *macaddr; 26 u8 *macaddr;
27
28 int led_pin;
29 u32 gpio_mask;
30 u32 gpio_val;
27}; 31};
28 32
29#endif /* _LINUX_ATH9K_PLATFORM_H */ 33#endif /* _LINUX_ATH9K_PLATFORM_H */