aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-26 03:07:15 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 03:07:15 -0500
commit27cd6ae5619084f363630683e77d70be38075afe (patch)
tree2d904585da0b2b51889d2510df7e333f7e3b8624 /drivers/net/tokenring
parent409b204435b85f7e159230c216f334a862cb3b95 (diff)
drivers/net/tokenring: fix sparse warnings: make symbols static
Fix this sparse warnings: drivers/net/tokenring/ibmtr.c:1840:6: warning: symbol 'tok_rerun' was not declared. Should it be static? drivers/net/tokenring/madgemc.c:469:16: warning: symbol 'madgemc_setnselout_pins' was not declared. Should it be static? drivers/net/tokenring/proteon.c:286:16: warning: symbol 'proteon_setnselout_pins' was not declared. Should it be static? drivers/net/tokenring/skisa.c:303:16: warning: symbol 'sk_isa_setnselout_pins' 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/tokenring')
-rw-r--r--drivers/net/tokenring/ibmtr.c4
-rw-r--r--drivers/net/tokenring/madgemc.c2
-rw-r--r--drivers/net/tokenring/proteon.c2
-rw-r--r--drivers/net/tokenring/skisa.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/tokenring/ibmtr.c b/drivers/net/tokenring/ibmtr.c
index 9fd09938d45b..fa7bce6e0c6d 100644
--- a/drivers/net/tokenring/ibmtr.c
+++ b/drivers/net/tokenring/ibmtr.c
@@ -1837,8 +1837,8 @@ static void ibmtr_reset_timer(struct timer_list *tmr, struct net_device *dev)
1837 1837
1838/*****************************************************************************/ 1838/*****************************************************************************/
1839 1839
1840void tok_rerun(unsigned long dev_addr){ 1840static void tok_rerun(unsigned long dev_addr)
1841 1841{
1842 struct net_device *dev = (struct net_device *)dev_addr; 1842 struct net_device *dev = (struct net_device *)dev_addr;
1843 struct tok_info *ti = netdev_priv(dev); 1843 struct tok_info *ti = netdev_priv(dev);
1844 1844
diff --git a/drivers/net/tokenring/madgemc.c b/drivers/net/tokenring/madgemc.c
index 0ba6f0bc7c00..917b4d201e09 100644
--- a/drivers/net/tokenring/madgemc.c
+++ b/drivers/net/tokenring/madgemc.c
@@ -466,7 +466,7 @@ static irqreturn_t madgemc_interrupt(int irq, void *dev_id)
466 * zero to leave the TMS NSELOUT bits unaffected. 466 * zero to leave the TMS NSELOUT bits unaffected.
467 * 467 *
468 */ 468 */
469unsigned short madgemc_setnselout_pins(struct net_device *dev) 469static unsigned short madgemc_setnselout_pins(struct net_device *dev)
470{ 470{
471 unsigned char reg1; 471 unsigned char reg1;
472 struct net_local *tp = netdev_priv(dev); 472 struct net_local *tp = netdev_priv(dev);
diff --git a/drivers/net/tokenring/proteon.c b/drivers/net/tokenring/proteon.c
index cd2d62f76079..b8c955f6d31a 100644
--- a/drivers/net/tokenring/proteon.c
+++ b/drivers/net/tokenring/proteon.c
@@ -283,7 +283,7 @@ static void proteon_read_eeprom(struct net_device *dev)
283 dev->dev_addr[i] = proteon_sifreadw(dev, SIFINC) >> 8; 283 dev->dev_addr[i] = proteon_sifreadw(dev, SIFINC) >> 8;
284} 284}
285 285
286unsigned short proteon_setnselout_pins(struct net_device *dev) 286static unsigned short proteon_setnselout_pins(struct net_device *dev)
287{ 287{
288 return 0; 288 return 0;
289} 289}
diff --git a/drivers/net/tokenring/skisa.c b/drivers/net/tokenring/skisa.c
index b578744311b0..c0f58f08782c 100644
--- a/drivers/net/tokenring/skisa.c
+++ b/drivers/net/tokenring/skisa.c
@@ -300,7 +300,7 @@ static void sk_isa_read_eeprom(struct net_device *dev)
300 dev->dev_addr[i] = sk_isa_sifreadw(dev, SIFINC) >> 8; 300 dev->dev_addr[i] = sk_isa_sifreadw(dev, SIFINC) >> 8;
301} 301}
302 302
303unsigned short sk_isa_setnselout_pins(struct net_device *dev) 303static unsigned short sk_isa_setnselout_pins(struct net_device *dev)
304{ 304{
305 return 0; 305 return 0;
306} 306}