summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/allwinner
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-06-04 04:31:20 +0400
committerDavid S. Miller <davem@davemloft.net>2013-06-05 04:40:10 +0400
commit11a164a04382d735230b01f4cc46ad78a7c4abf6 (patch)
treebc8b4d7011c547cf4de5cf83dfdefe0ee41bef26 /drivers/net/ethernet/allwinner
parentaff5c3557cf72fcad913d8b4b44b055a4e034bb5 (diff)
downloadlinux-11a164a04382d735230b01f4cc46ad78a7c4abf6.tar.xz
net: sun4i-emac: Staticize local symbols
Some symbols referenced only in this file are made static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Stefan Roese <sr@denx.de> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/allwinner')
-rw-r--r--drivers/net/ethernet/allwinner/sun4i-emac.c4
1 files changed, 2 insertions, 2 deletions
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;