]> 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:45:22 +0000 (16:45 -0400)
commite9e5b725ef9a3e527ec3c351660a54a439bbef9d
treee1504708f3b2b5f3f10c13862cafabb77ac256d6
parent61879d64144725ee93840242421ae8bcf26ac4ed
net: fec: Add a fec_enet_clear_ethtool_stats() stub for CONFIG_M5272

Commit ef8f970faf0d ("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.

Fixes: Commit ef8f970faf0d ("net: fec: Clear and enable MIB counters on imx51")
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