summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>2016-12-06 06:26:53 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-12-06 16:40:15 (GMT)
commitf85de6666347c974cdf97b1026180995d912d7d0 (patch)
tree305017a75980f4196fb79aef6f4e15b43c1defd7 /net
parentd14584d91976c42c7178164665c4959495740939 (diff)
downloadlinux-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 'net')
0 files changed, 0 insertions, 0 deletions