diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-06-10 03:37:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-10 22:16:21 +0200 |
commit | bf292f1b2c813f1d6ac49b04bd1a9863d8314266 (patch) | |
tree | d55832e875684c400ea878ba7069605f9a0bac53 /drivers | |
parent | l2tp: cast l2tp traffic counter to unsigned (diff) | |
download | linux-bf292f1b2c813f1d6ac49b04bd1a9863d8314266.tar.xz linux-bf292f1b2c813f1d6ac49b04bd1a9863d8314266.zip |
net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272
Commit 2b30842b23b9 ("net: fec: Clear and enable MIB counters on imx51")
introduced fec_enet_clear_ethtool_stats(), but missed to add a stub
for the CONFIG_M5272=y case, causing build failure for the
m5272c3_defconfig.
Add the missing empty stub to fix the build failure.
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index f7c8649fd28f..2205e5b32a10 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -2361,6 +2361,10 @@ static int fec_enet_get_sset_count(struct net_device *dev, int sset) static inline void fec_enet_update_ethtool_stats(struct net_device *dev) { } + +static inline void fec_enet_clear_ethtool_stats(struct net_device *dev) +{ +} #endif /* !defined(CONFIG_M5272) */ /* ITR clock source is enet system clock (clk_ahb). |