net: dsa: bcm_sf2: Add missing OF_MDIO dependency
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 24 Mar 2017 21:57:22 +0000 (14:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2017 22:03:06 +0000 (15:03 -0700)
commit68e498554f598d8a6596c85bb661e9a68cafd673
tree3fbc2dc610c29b4c2df2f3aa93440c19143ce859
parentf106d164720af76ef97c3d1e92901bf85f93aeb8
net: dsa: bcm_sf2: Add missing OF_MDIO dependency

bcm_sf2 does require the MDIO_BCM_UNIMAC driver which is now dependent
on OF_MDIO but also internally uses of_mdio.c provided routines which
are guarted with OF_MDIO.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 90eff9096c01 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/Kconfig