summaryrefslogtreecommitdiff
path: root/include/linux/ath9k_platform.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-06-21 13:23:51 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-23 00:09:57 +0400
commit7d95847c9b3631d31f657d8cede153b518ed9e2e (patch)
tree033508bc12802ca4e5121d61f3893e112e625e2c /include/linux/ath9k_platform.h
parent4187afa29a73fec1f68243c03437e7c1b37f315d (diff)
downloadlinux-7d95847c9b3631d31f657d8cede153b518ed9e2e.tar.xz
ath9k: add external_reset callback to ath9k_platfom_data for AR9330
The patch adds a callback to ath9k_platform_data. If the callback is provided by the platform code, then it can be used to hard reset the WMAC device. The callback is required for doing a hard reset of the AR9330 chips to get them working again after a hang. Signed-off-by: Gabor Juhos <juhosg@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h
index c207607acada..6e3f54f37844 100644
--- a/include/linux/ath9k_platform.h
+++ b/include/linux/ath9k_platform.h
@@ -31,6 +31,7 @@ struct ath9k_platform_data {
bool is_clk_25mhz;
int (*get_mac_revision)(void);
+ int (*external_reset)(void);
};
#endif /* _LINUX_ATH9K_PLATFORM_H */