Skip to contentSkip to conversation

smc911x Kconfig fix

PATCH In review [email protected] 1 participant 1 message Jun 9, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/8 smc911x Kconfig fix

From: Andrew Morton <[email protected]>

In file included from drivers/net/smc911x.c:84:
drivers/net/smc911x.h:46:9: warning: "SMC_USE_16BIT" is not defined drivers/net/smc911x.h:60:9: warning: "SMC_USE_32BIT" is not defined drivers/net/smc911x.h:73:10: warning: "SMC_USE_PXA_DMA" is not defined drivers/net/smc911x.c: In function `smc911x_reset':
drivers/net/smc911x.c:247: warning: implicit declaration of function SMC_inl' drivers/net/smc911x.c:249: warning: implicit declaration of function SMC_outl'

Cc Dustin McIntire <[email protected]>
Cc Jeff Garzik <[email protected]>

---

 drivers/net/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/net/Kconfig renamed from drivers/net/Kconfig~smc911x-Kconfig-fix +1 -1
diff -puN drivers/net/Kconfig~smc911x-Kconfig-fix drivers/net/Kconfig
@@ -869,7 +869,7 @@ config SMC911X
 	tristate "SMSC LAN911[5678] support"
 	select CRC32
 	select MII
-	depends on NET_ETHERNET
+	depends on NET_ETHERNET && ARCH_PXA
 	help
 	  This is a driver for SMSC's LAN911x series of Ethernet chipsets
 	  including the new LAN9115, LAN9116, LAN9117, and LAN9118.

_