diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 02:57:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 02:57:21 -0500 |
commit | 888432f6720bec93ddae93c4d1483a18198a1b3b (patch) | |
tree | fdbf335035b83a9b292f499f32e6d2fb8bafdbd3 /drivers/net/arcnet/com90xx.c | |
parent | dac499f912abd5838fa3501efdcd0f23d5f4fc29 (diff) |
drivers/net/arcnet: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/net/arcnet/capmode.c:64:6: warning: symbol 'arcnet_cap_init' was not declared. Should it be static?
drivers/net/arcnet/com90xx.c:586:5: warning: symbol 'com90xx_reset' 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/arcnet/com90xx.c')
-rw-r--r-- | drivers/net/arcnet/com90xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/arcnet/com90xx.c b/drivers/net/arcnet/com90xx.c index f4113d26587a..d762fe46251e 100644 --- a/drivers/net/arcnet/com90xx.c +++ b/drivers/net/arcnet/com90xx.c | |||
@@ -583,7 +583,7 @@ static void com90xx_setmask(struct net_device *dev, int mask) | |||
583 | * | 583 | * |
584 | * However, it does make sure the card is in a defined state. | 584 | * However, it does make sure the card is in a defined state. |
585 | */ | 585 | */ |
586 | int com90xx_reset(struct net_device *dev, int really_reset) | 586 | static int com90xx_reset(struct net_device *dev, int really_reset) |
587 | { | 587 | { |
588 | struct arcnet_local *lp = netdev_priv(dev); | 588 | struct arcnet_local *lp = netdev_priv(dev); |
589 | short ioaddr = dev->base_addr; | 589 | short ioaddr = dev->base_addr; |