drivers/net/wireless: fix sparse warnings: make symbols static
authorHannes Eder <hannes@hanneseder.net>
Fri, 26 Dec 2008 08:12:59 +0000 (00:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 08:12:59 +0000 (00:12 -0800)
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>
drivers/net/wireless/airo.c
drivers/net/wireless/atmel.c
drivers/net/wireless/ray_cs.c

index 67d504e32290da0519ed527f8d31ae5b2f07e133..fc4322ca669fa3a33c56650a784debdc15e8dab3 100644 (file)
@@ -3607,7 +3607,7 @@ badrx:
        }
 }
 
-void mpi_receive_802_11 (struct airo_info *ai)
+static void mpi_receive_802_11(struct airo_info *ai)
 {
        RxFid rxd;
        struct sk_buff *skb = NULL;
index 3962b553fbf1ed73de0946203f83310a8560b2c1..350157fcd080ae0bec9cc9734d7e65b05897caa0 100644 (file)
@@ -3180,7 +3180,7 @@ static void associate(struct atmel_private *priv, u16 frame_len, u16 subtype)
        }
 }
 
-void atmel_join_bss(struct atmel_private *priv, int bss_index)
+static void atmel_join_bss(struct atmel_private *priv, int bss_index)
 {
        struct bss_info *bss =  &priv->BSSinfo[bss_index];
 
index 81b71f07f5ad7b14a87aaa75027717bb49431543..99ec7d62251813e95caf0c72bac8c1c0439fe3fe 100644 (file)
@@ -828,7 +828,7 @@ static int ray_resume(struct pcmcia_device *link)
 }
 
 /*===========================================================================*/
-int ray_dev_init(struct net_device *dev)
+static int ray_dev_init(struct net_device *dev)
 {
 #ifdef RAY_IMMEDIATE_INIT
     int i;