Patchwork octeon: depends on NETDEVICES

login
register
mail settings
Submitter Randy Dunlap
Date Aug. 24, 2010, 9:09 p.m.
Message ID <20100824140940.57369e83.randy.dunlap@oracle.com>
Download mbox | patch
Permalink /patch/62625/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Randy Dunlap - Aug. 24, 2010, 9:09 p.m.
From: Randy Dunlap <randy.dunlap@oracle.com>

OCTEON_ETHERNET should depend on NETDEVICES.

Fixes this kconfig warning:

warning: (NET_DSA && NET && EXPERIMENTAL && NETDEVICES && !S390 || ...
|| OCTEON_ETHERNET && STAGING && !STAGING_EXCLUDE_BUILD && CPU_CAVIUM_OCTEON) selects PHYLIB which has unmet direct dependencies (!S390 && NETDEVICES)

Reported-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: support@caviumnetworks.com
---
 drivers/staging/octeon/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- linux-next-20100823.orig/drivers/staging/octeon/Kconfig
+++ linux-next-20100823/drivers/staging/octeon/Kconfig
@@ -1,6 +1,6 @@ 
 config OCTEON_ETHERNET
 	tristate "Cavium Networks Octeon Ethernet support"
-	depends on CPU_CAVIUM_OCTEON
+	depends on CPU_CAVIUM_OCTEON && NETDEVICES
 	select PHYLIB
 	select MDIO_OCTEON
 	help