Make CONFIG_INTEL_IOATDMA select CONFIG_DCA because it uses code
exported from said dependency:

# CONFIG_DCA is not set
CONFIG_INTEL_IOATDMA=m

ERROR: "alloc_dca_provider" [drivers/dma/ioatdma.ko] undefined!
ERROR: "register_dca_provider" [drivers/dma/ioatdma.ko] undefined!
ERROR: "unregister_dca_provider" [drivers/dma/ioatdma.ko] undefined!
ERROR: "free_dca_provider" [drivers/dma/ioatdma.ko] undefined!
make[1]: *** [__modpost] Error 1

"select" seems ok because CONFIG_DCA looks library-like and doesn't itself
depend upon anything else.

Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]>

---

 drivers/dma/Kconfig |    1 +
 1 files changed, 1 insertion(+)

diff -ruNp a/drivers/dma/Kconfig b/drivers/dma/Kconfig
--- a/drivers/dma/Kconfig       2007-07-26 03:31:47.000000000 +0530
+++ b/drivers/dma/Kconfig       2007-07-26 03:32:14.000000000 +0530
@@ -28,6 +28,7 @@ comment "DMA Devices"
 config INTEL_IOATDMA
        tristate "Intel I/OAT DMA support"
        depends on DMA_ENGINE && PCI
+       select DCA
        default m
        ---help---
          Enable support for the Intel(R) I/OAT DMA engine.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to