linux/drivers/net/ethernet/freescale
Nikita Yushchenko f85de66663 net: fec: fix compile with CONFIG_M5272
Commit 80cca775cd ("net: fec: cache statistics while device is down")
introduced unconditional statistics-related actions.

However, when driver is compiled with CONFIG_M5272, staticsics-related
definitions do not exist, which results into build errors.

Fix that by adding explicit handling of !defined(CONFIG_M5272) case.

Fixes: 80cca775cd ("net: fec: cache statistics while device is down")
Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-06 11:40:15 -05:00
..
fman net: fsl/fman: fix fixed-link-phydev reference leak 2016-11-27 20:01:15 -05:00
fs_enet net: ethernet: fs_enet: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
fec.h net: fec: cache statistics while device is down 2016-11-30 12:44:40 -05:00
fec_main.c net: fec: fix compile with CONFIG_M5272 2016-12-06 11:40:15 -05:00
fec_mpc52xx.c
fec_mpc52xx.h
fec_mpc52xx_phy.c
fec_ptp.c
fsl_pq_mdio.c net/fsl_pq_mdio: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:58 -07:00
gianfar.c net: ethernet: gianfar: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
gianfar.h gianfar: prevent fragmentation in DSA environments 2016-08-23 16:48:59 -07:00
gianfar_ethtool.c
gianfar_ptp.c
Kconfig
Makefile
ucc_geth.c net: ethernet: ucc_geth: fix fixed-link phydev leaks 2016-11-29 23:17:02 -05:00
ucc_geth.h
ucc_geth_ethtool.c
xgmac_mdio.c net/fsl: use of_property_read_bool 2016-08-08 16:15:00 -07:00