mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
net: phy: remove redundant dependency on NETDEVICES for PHYLINK and PHYLIB
drivers/net/phy/Kconfig is included from drivers/net/Kconfig in an "if NETDEVICES" section. Therefore we don't have to duplicate the dependency here. And if e.g. PHYLINK is selected somewhere, then the dependency is ignored anyway (see note in Kconfig help). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/085892cd-aa11-4c22-bf8a-574a5c6dcd7c@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
5f5f92912b
commit
1310f44dd4
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
config PHYLINK
|
||||
tristate
|
||||
depends on NETDEVICES
|
||||
select PHYLIB
|
||||
select SWPHY
|
||||
help
|
||||
|
|
@ -15,7 +14,6 @@ config PHYLINK
|
|||
|
||||
menuconfig PHYLIB
|
||||
tristate "PHY Device support and infrastructure"
|
||||
depends on NETDEVICES
|
||||
select MDIO_DEVICE
|
||||
select MDIO_DEVRES
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user