summaryrefslogtreecommitdiff
path: root/include/linux/ath9k_platform.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-19 15:55:40 +0300
committerJohn W. Linville <linville@tuxdriver.com>2011-03-30 22:15:15 +0400
commit6de66dd963ddd669667a81a2401f2fd6472ff55c (patch)
tree4ab0cca2a88c388f93c3bfe6af6f022a894af0c5 /include/linux/ath9k_platform.h
parent6fb1b1e18fe3d141c54182c5d5b3af823bed455f (diff)
downloadlinux-6de66dd963ddd669667a81a2401f2fd6472ff55c.tar.xz
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 @@
struct ath9k_platform_data {
u16 eeprom_data[ATH9K_PLAT_EEP_MAX_WORDS];
u8 *macaddr;
+
+ int led_pin;
+ u32 gpio_mask;
+ u32 gpio_val;
};
#endif /* _LINUX_ATH9K_PLATFORM_H */