diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 03:12:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 03:12:59 -0500 |
commit | 2ed5ba890e1e8dda89557e4ea233a26ab8bf3d58 (patch) | |
tree | 6613ae67cef9ac414fa9503077cec35ac00b61ec /drivers/net/wireless | |
parent | 62c5345db704c912b485f6b60dab381c9cebf268 (diff) |
drivers/net/wireless: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/net/wireless/airo.c:3610:6: warning: symbol 'mpi_receive_802_11' was not declared. Should it be static?
drivers/net/wireless/atmel.c:3183:6: warning: symbol 'atmel_join_bss' was not declared. Should it be static?
drivers/net/wireless/ray_cs.c:831:5: warning: symbol 'ray_dev_init' 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/wireless')
-rw-r--r-- | drivers/net/wireless/airo.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/atmel.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 67d504e32290..fc4322ca669f 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -3607,7 +3607,7 @@ badrx: | |||
3607 | } | 3607 | } |
3608 | } | 3608 | } |
3609 | 3609 | ||
3610 | void mpi_receive_802_11 (struct airo_info *ai) | 3610 | static void mpi_receive_802_11(struct airo_info *ai) |
3611 | { | 3611 | { |
3612 | RxFid rxd; | 3612 | RxFid rxd; |
3613 | struct sk_buff *skb = NULL; | 3613 | struct sk_buff *skb = NULL; |
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 3962b553fbf1..350157fcd080 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -3180,7 +3180,7 @@ static void associate(struct atmel_private *priv, u16 frame_len, u16 subtype) | |||
3180 | } | 3180 | } |
3181 | } | 3181 | } |
3182 | 3182 | ||
3183 | void atmel_join_bss(struct atmel_private *priv, int bss_index) | 3183 | static void atmel_join_bss(struct atmel_private *priv, int bss_index) |
3184 | { | 3184 | { |
3185 | struct bss_info *bss = &priv->BSSinfo[bss_index]; | 3185 | struct bss_info *bss = &priv->BSSinfo[bss_index]; |
3186 | 3186 | ||
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 81b71f07f5ad..99ec7d622518 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -828,7 +828,7 @@ static int ray_resume(struct pcmcia_device *link) | |||
828 | } | 828 | } |
829 | 829 | ||
830 | /*===========================================================================*/ | 830 | /*===========================================================================*/ |
831 | int ray_dev_init(struct net_device *dev) | 831 | static int ray_dev_init(struct net_device *dev) |
832 | { | 832 | { |
833 | #ifdef RAY_IMMEDIATE_INIT | 833 | #ifdef RAY_IMMEDIATE_INIT |
834 | int i; | 834 | int i; |