net: ks8842 depends on DMA_ENGINE
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 29 Jul 2010 07:14:27 +0000 (07:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jul 2010 05:10:01 +0000 (22:10 -0700)
ks8842 uses dma channel functions, so it should depend on DMA_ENGINE.

ERROR: "__dma_request_channel" [drivers/net/ks8842.ko] undefined!
ERROR: "dma_release_channel" [drivers/net/ks8842.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig

index 8c13df7fdc16110c6d4d9551f8ef2acecbf745a7..ebe68395ecf8c98cd292052d6e78cf5ad9f4ff31 100644 (file)
@@ -1751,7 +1751,7 @@ config TLAN
 
 config KS8842
        tristate "Micrel KSZ8841/42 with generic bus interface"
-       depends on HAS_IOMEM
+       depends on HAS_IOMEM && DMA_ENGINE
        help
         This platform driver is for KSZ8841(1-port) / KS8842(2-port)
         ethernet switch chip (managed, VLAN, QoS) from Micrel or