diff options
author | Nikita Yushchenko <nikita.yoush@cogentembedded.com> | 2016-12-06 06:26:53 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-06 16:40:15 (GMT) |
commit | f85de6666347c974cdf97b1026180995d912d7d0 (patch) | |
tree | 305017a75980f4196fb79aef6f4e15b43c1defd7 /arch/nios2/platform/Kconfig.platform | |
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 'arch/nios2/platform/Kconfig.platform')
0 files changed, 0 insertions, 0 deletions