Commit 888432f6 authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dac499f9
...@@ -61,7 +61,7 @@ static struct ArcProto capmode_proto = ...@@ -61,7 +61,7 @@ static struct ArcProto capmode_proto =
}; };
void arcnet_cap_init(void) static void arcnet_cap_init(void)
{ {
int count; int count;
......
...@@ -583,7 +583,7 @@ static void com90xx_setmask(struct net_device *dev, int mask) ...@@ -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. * 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); struct arcnet_local *lp = netdev_priv(dev);
short ioaddr = dev->base_addr; short ioaddr = dev->base_addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment