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>
This commit is contained in:
Felix Fietkau
2011-03-19 13:55:40 +01:00
committed by John W. Linville
parent 6fb1b1e18f
commit 6de66dd963
4 changed files with 20 additions and 8 deletions

View File

@@ -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 */