aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-11 17:44:10 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:06:51 -0500
commit2fd6cfe307557f3022b47288db3dc094c076e539 (patch)
tree3c446e7276c312522e037830243893b9b4c22324 /drivers/net/wireless/libertas/main.c
parentcb182a602802b36ff992afe238e1a3eafc0956b2 (diff)
libertas: make some more functions static
sparse was getting on my tits. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index 2fe7ad0f8327..c51d3af131fd 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -252,8 +252,8 @@ static ssize_t lbs_anycast_set(struct device *dev,
252 return strlen(buf); 252 return strlen(buf);
253} 253}
254 254
255int lbs_add_rtap(struct lbs_private *priv); 255static int lbs_add_rtap(struct lbs_private *priv);
256void lbs_remove_rtap(struct lbs_private *priv); 256static void lbs_remove_rtap(struct lbs_private *priv);
257 257
258/** 258/**
259 * Get function for sysfs attribute rtap 259 * Get function for sysfs attribute rtap
@@ -1423,7 +1423,7 @@ static struct net_device_stats *lbs_rtap_get_stats(struct net_device *dev)
1423} 1423}
1424 1424
1425 1425
1426void lbs_remove_rtap(struct lbs_private *priv) 1426static void lbs_remove_rtap(struct lbs_private *priv)
1427{ 1427{
1428 if (priv->rtap_net_dev == NULL) 1428 if (priv->rtap_net_dev == NULL)
1429 return; 1429 return;
@@ -1432,7 +1432,7 @@ void lbs_remove_rtap(struct lbs_private *priv)
1432 priv->rtap_net_dev = NULL; 1432 priv->rtap_net_dev = NULL;
1433} 1433}
1434 1434
1435int lbs_add_rtap(struct lbs_private *priv) 1435static int lbs_add_rtap(struct lbs_private *priv)
1436{ 1436{
1437 int rc = 0; 1437 int rc = 0;
1438 struct net_device *rtap_dev; 1438 struct net_device *rtap_dev;