From: Sachin Kamat Date: Tue, 4 Jun 2013 00:31:20 +0000 (+0000) Subject: net: sun4i-emac: Staticize local symbols X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=11a164a04382d735230b01f4cc46ad78a7c4abf6;p=linux-beck.git net: sun4i-emac: Staticize local symbols Some symbols referenced only in this file are made static. Signed-off-by: Sachin Kamat Cc: Stefan Roese Cc: Maxime Ripard Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/allwinner/sun4i-emac.c b/drivers/net/ethernet/allwinner/sun4i-emac.c index e9c8dbe4c88f..50b853a79d77 100644 --- a/drivers/net/ethernet/allwinner/sun4i-emac.c +++ b/drivers/net/ethernet/allwinner/sun4i-emac.c @@ -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; @@ -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;