forked from Minki/linux
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>
This commit is contained in:
parent
aff5c3557c
commit
11a164a043
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user