diff options
author | Joachim Eastwood <manabian@gmail.com> | 2012-11-07 09:14:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-07 23:44:37 +0100 |
commit | 2ea32eedc09e5bed031020905c7ee349987a5878 (patch) | |
tree | 4c86d0a66b17ccb3f24c3194ffd48d8f8c60904d /drivers/net/ethernet/cadence/macb.c | |
parent | net/at91_ether: use macb functions for get/set hwaddr (diff) | |
download | linux-2ea32eedc09e5bed031020905c7ee349987a5878.tar.xz linux-2ea32eedc09e5bed031020905c7ee349987a5878.zip |
net/at91_ether: use stat function from macb
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.c')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 6be5a260155b..1fac769989ad 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/ethernet/cadence/macb.c @@ -1292,7 +1292,7 @@ static struct net_device_stats *gem_get_stats(struct macb *bp) return nstat; } -static struct net_device_stats *macb_get_stats(struct net_device *dev) +struct net_device_stats *macb_get_stats(struct net_device *dev) { struct macb *bp = netdev_priv(dev); struct net_device_stats *nstat = &bp->stats; @@ -1338,6 +1338,7 @@ static struct net_device_stats *macb_get_stats(struct net_device *dev) return nstat; } +EXPORT_SYMBOL_GPL(macb_get_stats); static int macb_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) { |