ldpaa_eth.c: Fix warning when PHYLIB is not enabled
authorTom Rini <trini@konsulko.com>
Fri, 12 Oct 2018 00:07:48 +0000 (20:07 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 12 Oct 2018 11:41:24 +0000 (07:41 -0400)
commit15f22ac2eea5ee9f17b14a143c94e7480bbafbff
treed52f1bbbf1767d5c361880331d1b02e3ef21df18
parent0223462b373b975d970fa86e5e1a7eadd1d41820
ldpaa_eth.c: Fix warning when PHYLIB is not enabled

We need to #ifdef some variables to avoid warning about them being
unused.

Fixes: 1a048cd65645 ("driver: net: fsl-mc: Add support of multiple phys for dpmac")
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/net/ldpaa_eth/ldpaa_eth.c