]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitc2c4bec33808679acdd8698f279fe5e192160855
treed52f1bbbf1767d5c361880331d1b02e3ef21df18
parentb0834011a785c9b458ea40c5035e834c638cea20
ldpaa_eth.c: Fix warning when PHYLIB is not enabled

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

Fixes: 39b3ae3a15dc ("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