Commit 11a164a0 authored by Sachin Kamat's avatar Sachin Kamat Committed by David S. Miller

net: sun4i-emac: Staticize local symbols

Some symbols referenced only in this file are made static.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Cc: Stefan Roese <sr@denx.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aff5c355
...@@ -258,7 +258,7 @@ static const struct ethtool_ops emac_ethtool_ops = { ...@@ -258,7 +258,7 @@ static const struct ethtool_ops emac_ethtool_ops = {
.get_link = ethtool_op_get_link, .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); struct emac_board_info *db = netdev_priv(ndev);
unsigned int reg_val; unsigned int reg_val;
...@@ -310,7 +310,7 @@ unsigned int emac_setup(struct net_device *ndev) ...@@ -310,7 +310,7 @@ unsigned int emac_setup(struct net_device *ndev)
return 0; 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); struct emac_board_info *db = netdev_priv(ndev);
unsigned int reg_val; unsigned int reg_val;
......
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