drivers: staging: netlogic: fix unmet dependency for PHYLIB
authorJulian Braha <julianbraha@gmail.com>
Fri, 26 Mar 2021 05:45:33 +0000 (01:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Mar 2021 14:06:15 +0000 (15:06 +0100)
commita5bf1a101a19dbb38be7ffebe2650449e344c892
treee393865ca6b3cb107003e472b2f5368fc3730300
parent61d6809f9c8d9d9f2279d739e684e4969f65154a
drivers: staging: netlogic: fix unmet dependency for PHYLIB

When NETLOGIC_XLR_NET is enabled, and NETDEVICES is
disabled, Kbuild gives the following warning:

WARNING: unmet direct dependencies detected for PHYLIB
  Depends on [n]: NETDEVICES [=n]
  Selected by [y]:
  - NETLOGIC_XLR_NET [=y] && STAGING [=y] && CPU_XLR [=y]

This is because NETLOGIC_XLR_NET selects PHYLIB
without selecting or depending on NETDEVICES,
despite PHYLIB depending on NETDEVICES.

Signed-off-by: Julian Braha <julianbraha@gmail.com>
Link: https://lore.kernel.org/r/20210326054533.48751-1-julianbraha@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/netlogic/Kconfig