]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drivers/net/arcnet: fix sparse warnings: make symbols static
authorHannes Eder <hannes@hanneseder.net>
Fri, 26 Dec 2008 07:57:21 +0000 (23:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 07:57:21 +0000 (23:57 -0800)
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>
drivers/net/arcnet/capmode.c
drivers/net/arcnet/com90xx.c

index e544953d8e9a44b905800047d9195a9ce981146e..30580bbe252d4ff11a346d0d7bbc0db1a0a2bef5 100644 (file)
@@ -61,7 +61,7 @@ static struct ArcProto capmode_proto =
 };
 
 
-void arcnet_cap_init(void)
+static void arcnet_cap_init(void)
 {
        int count;
 
index f4113d26587a319440e99654de3379663e3bd9b4..d762fe46251eb0fc62bdbacda2990cf3f89ff066 100644 (file)
@@ -583,7 +583,7 @@ static void com90xx_setmask(struct net_device *dev, int mask)
  *
  * However, it does make sure the card is in a defined state.
  */
-int com90xx_reset(struct net_device *dev, int really_reset)
+static int com90xx_reset(struct net_device *dev, int really_reset)
 {
        struct arcnet_local *lp = netdev_priv(dev);
        short ioaddr = dev->base_addr;