]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add missing dependencies on NETDEVICES
authorBen Hutchings <ben@decadent.org.uk>
Tue, 18 Jun 2013 02:37:05 +0000 (03:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 05:22:56 +0000 (22:22 -0700)
commit774c1f2a118d541398597e6564d863bf4fe6298b
treeda7d00fcc543ce1a008c0fa1049ab906505b94ea
parent282311b5e28f5da952edf939b1e75110559e192d
net: Add missing dependencies on NETDEVICES

ETRAX_ETHERNET selects ETHERNET and MII, which depend on NETDEVICES.
I don't think anything should select NETDEVICES, so make it a
dependency.  It also doesn't need to select or depend on ETHERNET,
which has nothing to do with the Ethernet library functions.

BPCTL selects MII, which depends on NETDEVICES.  But everything in the
drivers/staging/silicom directory is related to net devices, so make
NET_VENDOR_SILICOM depend on NETDEVICES and remove the now-redundant
dependencies on NET.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/cris/arch-v10/drivers/Kconfig
arch/cris/arch-v32/drivers/Kconfig
drivers/staging/silicom/Kconfig