diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 03:14:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 03:14:41 -0500 |
commit | a3d1fd23e1ff2deeda0415805cf9a044dda7f55c (patch) | |
tree | ab1851a01ae41d6dcfebd9342b78c59371fcbdd4 /drivers/net | |
parent | 11ab72a7c94f3ccac05b85928875fdc4f1ed5e9b (diff) |
drivers/net/wireless/ipw2x00: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/net/wireless/ipw2x00/ipw2100.c:5271:6: warning: symbol 'ipw2100_queues_initialize' was not declared. Should it be static?
drivers/net/wireless/ipw2x00/ipw2100.c:5278:6: warning: symbol 'ipw2100_queues_free' was not declared. Should it be static?
drivers/net/wireless/ipw2x00/ipw2100.c:5285:5: warning: symbol 'ipw2100_queues_allocate' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2100.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index 2d2044d3d1c9..1667065b86a7 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -5268,21 +5268,21 @@ static int ipw2100_set_ibss_beacon_interval(struct ipw2100_priv *priv, | |||
5268 | return 0; | 5268 | return 0; |
5269 | } | 5269 | } |
5270 | 5270 | ||
5271 | void ipw2100_queues_initialize(struct ipw2100_priv *priv) | 5271 | static void ipw2100_queues_initialize(struct ipw2100_priv *priv) |
5272 | { | 5272 | { |
5273 | ipw2100_tx_initialize(priv); | 5273 | ipw2100_tx_initialize(priv); |
5274 | ipw2100_rx_initialize(priv); | 5274 | ipw2100_rx_initialize(priv); |
5275 | ipw2100_msg_initialize(priv); | 5275 | ipw2100_msg_initialize(priv); |
5276 | } | 5276 | } |
5277 | 5277 | ||
5278 | void ipw2100_queues_free(struct ipw2100_priv *priv) | 5278 | static void ipw2100_queues_free(struct ipw2100_priv *priv) |
5279 | { | 5279 | { |
5280 | ipw2100_tx_free(priv); | 5280 | ipw2100_tx_free(priv); |
5281 | ipw2100_rx_free(priv); | 5281 | ipw2100_rx_free(priv); |
5282 | ipw2100_msg_free(priv); | 5282 | ipw2100_msg_free(priv); |
5283 | } | 5283 | } |
5284 | 5284 | ||
5285 | int ipw2100_queues_allocate(struct ipw2100_priv *priv) | 5285 | static int ipw2100_queues_allocate(struct ipw2100_priv *priv) |
5286 | { | 5286 | { |
5287 | if (ipw2100_tx_allocate(priv) || | 5287 | if (ipw2100_tx_allocate(priv) || |
5288 | ipw2100_rx_allocate(priv) || ipw2100_msg_allocate(priv)) | 5288 | ipw2100_rx_allocate(priv) || ipw2100_msg_allocate(priv)) |