Skip to content

Commit

Permalink
net: sun4i-emac: Staticize local symbols
Browse files Browse the repository at this point in the history
Some symbols referenced only in this file are made static.

Signed-off-by: Sachin Kamat <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Maxime Ripard <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Sachin Kamat authored and davem330 committed Jun 5, 2013
1 parent aff5c35 commit 11a164a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/allwinner/sun4i-emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static const struct ethtool_ops emac_ethtool_ops = {
.get_link = ethtool_op_get_link,
};

unsigned int emac_setup(struct net_device *ndev)
static unsigned int emac_setup(struct net_device *ndev)
{
struct emac_board_info *db = netdev_priv(ndev);
unsigned int reg_val;
Expand Down Expand Up @@ -310,7 +310,7 @@ unsigned int emac_setup(struct net_device *ndev)
return 0;
}

unsigned int emac_powerup(struct net_device *ndev)
static unsigned int emac_powerup(struct net_device *ndev)
{
struct emac_board_info *db = netdev_priv(ndev);
unsigned int reg_val;
Expand Down

0 comments on commit 11a164a

Please sign in to comment.