mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 18:36:00 +00:00
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>
This commit is contained in:
parent
61d6809f9c
commit
a5bf1a101a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user