minstrel_ht: move minstrel_mcs_groups declaration to header file
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Jun 2010 17:03:14 +0000 (13:03 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Jun 2010 19:42:18 +0000 (15:42 -0400)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
net/mac80211/rc80211_minstrel_ht.h
net/mac80211/rc80211_minstrel_ht_debugfs.c

index 696c0fc6e0b72f80d74dafd0e2df286198c0d123..462d2b227ed579682e7fe64fc2556377320263fa 100644 (file)
@@ -29,6 +29,8 @@ struct mcs_group {
        unsigned int duration[MCS_GROUP_RATES];
 };
 
+extern const struct mcs_group minstrel_mcs_groups[];
+
 struct minstrel_rate_stats {
        /* current / last sampling period attempts/success counters */
        unsigned int attempts, last_attempts;
index 4fb3ccbd8b402631243e1ff982d8fc2ca3866dcf..4a5a4b3e7799f1845421843e22fee503ef62ffb4 100644 (file)
@@ -14,8 +14,6 @@
 #include "rc80211_minstrel.h"
 #include "rc80211_minstrel_ht.h"
 
-extern const struct mcs_group minstrel_mcs_groups[];
-
 static int
 minstrel_ht_stats_open(struct inode *inode, struct file *file)
 {