aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@iki.fi>2008-12-29 03:02:48 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:59:41 -0500
commitb3093664c931aa06fc50da42e25b3b6dc307a915 (patch)
tree1293d1450d98062d0d56ce3e7160ecd3596a1399 /net/mac80211
parentc557289cb8ea063bd09db88f8a687a841556e291 (diff)
mac80211: make wake/stop_queue_by_reason() functions static
Fixes sparse warnings: net/mac80211/util.c:355:6: warning: symbol 'ieee80211_wake_queue_by_reason' was not declared. Should it be static? net/mac80211/util.c:385:6: warning: symbol 'ieee80211_stop_queue_by_reason' was not declared. Should it be static? Thanks to Johannes Berg for reporting this. Signed-off-by: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index fb89e1d0aa03..5cd430333f08 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -352,8 +352,8 @@ static void __ieee80211_wake_queue(struct ieee80211_hw *hw, int queue,
352 } 352 }
353} 353}
354 354
355void ieee80211_wake_queue_by_reason(struct ieee80211_hw *hw, int queue, 355static void ieee80211_wake_queue_by_reason(struct ieee80211_hw *hw, int queue,
356 enum queue_stop_reason reason) 356 enum queue_stop_reason reason)
357{ 357{
358 struct ieee80211_local *local = hw_to_local(hw); 358 struct ieee80211_local *local = hw_to_local(hw);
359 unsigned long flags; 359 unsigned long flags;
@@ -382,8 +382,8 @@ static void __ieee80211_stop_queue(struct ieee80211_hw *hw, int queue,
382 netif_stop_subqueue(local->mdev, queue); 382 netif_stop_subqueue(local->mdev, queue);
383} 383}
384 384
385void ieee80211_stop_queue_by_reason(struct ieee80211_hw *hw, int queue, 385static void ieee80211_stop_queue_by_reason(struct ieee80211_hw *hw, int queue,
386 enum queue_stop_reason reason) 386 enum queue_stop_reason reason)
387{ 387{
388 struct ieee80211_local *local = hw_to_local(hw); 388 struct ieee80211_local *local = hw_to_local(hw);
389 unsigned long flags; 389 unsigned long flags;