OSDN Git Service

net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 10 Jun 2017 01:37:22 +0000 (22:37 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:48:27 +0000 (19:48 +0200)
commitaabd70361a7ff2546d00f32d83a96713b33ad4ad
tree0d70ece275adb2ab8135acdac446f550ef8a3e95
parent2c7608e644c01cdf638b9f3cb7e0c596ae950964
net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272

[ Upstream commit bf292f1b2c813f1d6ac49b04bd1a9863d8314266 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/freescale/fec_main.c