phy: nsp-usb3: select PHYLIB
PATCH 1/1 phy: nsp-usb3: select PHYLIB
Building this driver without PHYLIB fails:
ERROR: "mdio_driver_unregister" [drivers/phy/phy-bcm-nsp-usb3.ko] undefined!
ERROR: "mdio_driver_register" [drivers/phy/phy-bcm-nsp-usb3.ko] undefined!
ERROR: "mdiobus_write" [drivers/phy/phy-bcm-nsp-usb3.ko] undefined!
Unfortunately selecting PHYLIB without NETDEVICES produces a warning:
warning: (NET_DSA && NETLOGIC_XLR_NET && PHY_NSP_USB3) selects PHYLIB which has unmet direct dependencies (NETDEVICES)
so I'm adding a dependency on netdevices here.
Fixes d7bc1a7d41bf ("phy: Add USB3 PHY support for Broadcom NSP SoC")
Signed-off-by Arnd Bergmann <[email protected]>
--- drivers/phy/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/phy/Kconfig +2 -0
@@ -509,7 +509,9 @@ config PHY_MESON8B_USB2 config PHY_NSP_USB3 tristate "Broadcom NorthStar plus USB3 PHY driver" depends on OF && (ARCH_BCM_NSP || COMPILE_TEST) + depends on NETDEVICES # for PHYLIB select GENERIC_PHY + select PHYLIB default ARCH_BCM_NSP help Enable this to support the Broadcom Northstar plus USB3 PHY.
Signature · 1 line
2.9.0