diff options
author | Nikita Yushchenko <nikita.yoush@cogentembedded.com> | 2016-12-06 09:26:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-06 19:40:15 +0300 |
commit | f85de6666347c974cdf97b1026180995d912d7d0 (patch) | |
tree | 305017a75980f4196fb79aef6f4e15b43c1defd7 /drivers/net/ethernet/i825xx/ether1.h | |
parent | d14584d91976c42c7178164665c4959495740939 (diff) | |
download | linux-f85de6666347c974cdf97b1026180995d912d7d0.tar.xz |
net: fec: fix compile with CONFIG_M5272
Commit 80cca775cdc4 ("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: 80cca775cdc4 ("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>
Diffstat (limited to 'drivers/net/ethernet/i825xx/ether1.h')
0 files changed, 0 insertions, 0 deletions