aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/netlogic
diff options
context:
space:
mode:
authorGravatar Julian Braha <julianbraha@gmail.com> 2021-03-26 01:45:33 -0400
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-03-26 15:06:15 +0100
commita5bf1a101a19dbb38be7ffebe2650449e344c892 (patch)
treee393865ca6b3cb107003e472b2f5368fc3730300 /drivers/staging/netlogic
parentstaging: rtl8723bs: remove assignment in condition in os_dep/ioctl_linux.c (diff)
downloadlinux-a5bf1a101a19dbb38be7ffebe2650449e344c892.tar.gz
linux-a5bf1a101a19dbb38be7ffebe2650449e344c892.tar.bz2
linux-a5bf1a101a19dbb38be7ffebe2650449e344c892.zip
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>
Diffstat (limited to 'drivers/staging/netlogic')
-rw-r--r--drivers/staging/netlogic/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/netlogic/Kconfig b/drivers/staging/netlogic/Kconfig
index b2a4d4586697..e1712606ee3c 100644
--- a/drivers/staging/netlogic/Kconfig
+++ b/drivers/staging/netlogic/Kconfig
@@ -2,6 +2,7 @@
config NETLOGIC_XLR_NET
tristate "Netlogic XLR/XLS network device"
depends on CPU_XLR
+ depends on NETDEVICES
select PHYLIB
help
This driver support Netlogic XLR/XLS on chip gigabit