]> git.karo-electronics.de Git - linux-beck.git/commitdiff
net: sun4i-emac: Staticize local symbols
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 4 Jun 2013 00:31:20 +0000 (00:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jun 2013 00:40:10 +0000 (17:40 -0700)
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>
drivers/net/ethernet/allwinner/sun4i-emac.c

index e9c8dbe4c88f7a7ef25f7ab70be6b9455b7255c5..50b853a79d7787c73d0ea8d0ac1f1e0853ac2adf 100644 (file)
@@ -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;