[PATCH] smc911x Kconfig fix
authorAndrew Morton <akpm@osdl.org>
Fri, 9 Jun 2006 05:19:41 +0000 (22:19 -0700)
committerJeff Garzik <jeff@garzik.org>
Sun, 11 Jun 2006 14:34:40 +0000 (10:34 -0400)
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 <dustin@sensoria.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/Kconfig

index f499a3bc629f3acf472d9e8f284d51e54926b663..2f0b2549e9ec1fa3d5092a372e6e5d87b2047ecf 100644 (file)
@@ -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.