diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-19 08:55:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-30 14:15:15 -0400 |
commit | 6fb1b1e18fe3d141c54182c5d5b3af823bed455f (patch) | |
tree | 78d4b143bd0ef2368b3e4456f69a78bbe427b259 /include | |
parent | 691680b8335fa8995b190676f53e3bcef6477b4a (diff) |
ath9k: add support for overriding the MAC address through platform data
On some devices the correct MAC address is not in the EEPROM data, but
stored somewhere else.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ath9k_platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h index b847fc7b93f9..b5f06583a1ba 100644 --- a/include/linux/ath9k_platform.h +++ b/include/linux/ath9k_platform.h | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | struct ath9k_platform_data { | 24 | struct 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 | }; | 27 | }; |
27 | 28 | ||
28 | #endif /* _LINUX_ATH9K_PLATFORM_H */ | 29 | #endif /* _LINUX_ATH9K_PLATFORM_H */ |