Skip to content

Commit

Permalink
drivers/net/arcnet: fix sparse warnings: make symbols static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hannes Eder authored and David S. Miller committed Dec 26, 2008
1 parent dac499f commit 888432f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/net/arcnet/capmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static struct ArcProto capmode_proto =
};


void arcnet_cap_init(void)
static void arcnet_cap_init(void)
{
int count;

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/arcnet/com90xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 888432f

Please sign in to comment.