Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: fec: fix compile with CONFIG_M5272
Commit 80cca77 ("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: 80cca77 ("net: fec: cache statistics while device is down") Signed-off-by: Nikita Yushchenko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information