]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2017 20:16:21 +0000 (16:16 -0400)
commit0818bcba9b80ec83a7f4c41cffbea3de100ec251
treed55832e875684c400ea878ba7069605f9a0bac53
parent0e12589c53a13feb3c4093cb06351ab073f3baba
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>
drivers/net/ethernet/freescale/fec_main.c