diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-01-12 15:19:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-22 22:16:58 -0500 |
commit | 4c718cfd7df4ac34ca8a4add555c374de61c42e8 (patch) | |
tree | 693fdc1af819411c2e92821172d8f7f19a549a2f /net/ieee80211/softmac/ieee80211softmac_module.c | |
parent | 9ebdd466813c2dde19417a00e22bd46546e27165 (diff) |
[PATCH] softmac: move EXPORT_SYMBOL_GPL right after functions
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_module.c')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_module.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_module.c b/net/ieee80211/softmac/ieee80211softmac_module.c index 26df4114ab57..671f83b33e7e 100644 --- a/net/ieee80211/softmac/ieee80211softmac_module.c +++ b/net/ieee80211/softmac/ieee80211softmac_module.c | |||
@@ -71,6 +71,7 @@ struct net_device *alloc_ieee80211softmac(int sizeof_priv) | |||
71 | 71 | ||
72 | return dev; | 72 | return dev; |
73 | } | 73 | } |
74 | EXPORT_SYMBOL_GPL(alloc_ieee80211softmac); | ||
74 | 75 | ||
75 | /* Clears the pending work queue items, stops all scans, etc. */ | 76 | /* Clears the pending work queue items, stops all scans, etc. */ |
76 | void | 77 | void |
@@ -127,6 +128,7 @@ ieee80211softmac_clear_pending_work(struct ieee80211softmac_device *sm) | |||
127 | 128 | ||
128 | spin_unlock_irqrestore(&sm->lock, flags); | 129 | spin_unlock_irqrestore(&sm->lock, flags); |
129 | } | 130 | } |
131 | EXPORT_SYMBOL_GPL(ieee80211softmac_clear_pending_work); | ||
130 | 132 | ||
131 | void free_ieee80211softmac(struct net_device *dev) | 133 | void free_ieee80211softmac(struct net_device *dev) |
132 | { | 134 | { |
@@ -136,6 +138,7 @@ void free_ieee80211softmac(struct net_device *dev) | |||
136 | kfree(sm->wpa.IE); | 138 | kfree(sm->wpa.IE); |
137 | free_ieee80211(dev); | 139 | free_ieee80211(dev); |
138 | } | 140 | } |
141 | EXPORT_SYMBOL_GPL(free_ieee80211softmac); | ||
139 | 142 | ||
140 | static void ieee80211softmac_start_check_rates(struct ieee80211softmac_device *mac) | 143 | static void ieee80211softmac_start_check_rates(struct ieee80211softmac_device *mac) |
141 | { | 144 | { |
@@ -194,6 +197,7 @@ void ieee80211softmac_start(struct net_device *dev) | |||
194 | if (mac->txrates_change) | 197 | if (mac->txrates_change) |
195 | mac->txrates_change(dev, change, &oldrates); | 198 | mac->txrates_change(dev, change, &oldrates); |
196 | } | 199 | } |
200 | EXPORT_SYMBOL_GPL(ieee80211softmac_start); | ||
197 | 201 | ||
198 | void ieee80211softmac_stop(struct net_device *dev) | 202 | void ieee80211softmac_stop(struct net_device *dev) |
199 | { | 203 | { |
@@ -201,6 +205,7 @@ void ieee80211softmac_stop(struct net_device *dev) | |||
201 | 205 | ||
202 | ieee80211softmac_clear_pending_work(mac); | 206 | ieee80211softmac_clear_pending_work(mac); |
203 | } | 207 | } |
208 | EXPORT_SYMBOL_GPL(ieee80211softmac_stop); | ||
204 | 209 | ||
205 | void ieee80211softmac_set_rates(struct net_device *dev, u8 count, u8 *rates) | 210 | void ieee80211softmac_set_rates(struct net_device *dev, u8 count, u8 *rates) |
206 | { | 211 | { |
@@ -212,6 +217,7 @@ void ieee80211softmac_set_rates(struct net_device *dev, u8 count, u8 *rates) | |||
212 | mac->ratesinfo.count = count; | 217 | mac->ratesinfo.count = count; |
213 | spin_unlock_irqrestore(&mac->lock, flags); | 218 | spin_unlock_irqrestore(&mac->lock, flags); |
214 | } | 219 | } |
220 | EXPORT_SYMBOL_GPL(ieee80211softmac_set_rates); | ||
215 | 221 | ||
216 | static u8 raise_rate(struct ieee80211softmac_device *mac, u8 rate) | 222 | static u8 raise_rate(struct ieee80211softmac_device *mac, u8 rate) |
217 | { | 223 | { |
@@ -294,6 +300,7 @@ void ieee80211softmac_fragment_lost(struct net_device *dev, | |||
294 | 300 | ||
295 | spin_unlock_irqrestore(&mac->lock, flags); | 301 | spin_unlock_irqrestore(&mac->lock, flags); |
296 | } | 302 | } |
303 | EXPORT_SYMBOL_GPL(ieee80211softmac_fragment_lost); | ||
297 | 304 | ||
298 | static int rate_cmp(const void *a_, const void *b_) { | 305 | static int rate_cmp(const void *a_, const void *b_) { |
299 | u8 *a, *b; | 306 | u8 *a, *b; |
@@ -447,11 +454,3 @@ MODULE_AUTHOR("Larry Finger"); | |||
447 | MODULE_AUTHOR("Danny van Dyk"); | 454 | MODULE_AUTHOR("Danny van Dyk"); |
448 | MODULE_AUTHOR("Michael Buesch"); | 455 | MODULE_AUTHOR("Michael Buesch"); |
449 | MODULE_DESCRIPTION("802.11 software MAC"); | 456 | MODULE_DESCRIPTION("802.11 software MAC"); |
450 | |||
451 | EXPORT_SYMBOL_GPL(alloc_ieee80211softmac); | ||
452 | EXPORT_SYMBOL_GPL(free_ieee80211softmac); | ||
453 | EXPORT_SYMBOL_GPL(ieee80211softmac_set_rates); | ||
454 | EXPORT_SYMBOL_GPL(ieee80211softmac_start); | ||
455 | EXPORT_SYMBOL_GPL(ieee80211softmac_stop); | ||
456 | EXPORT_SYMBOL_GPL(ieee80211softmac_fragment_lost); | ||
457 | EXPORT_SYMBOL_GPL(ieee80211softmac_clear_pending_work); | ||