]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
caif-driver: add HAS_DMA dependency
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 24 Aug 2010 19:21:13 +0000 (12:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 19:21:13 +0000 (12:21 -0700)
Fix this error on an s390 allyesconfig build:

linux-2.6/drivers/net/caif/caif_spi.c:98:
    undefined reference to `dma_free_coherent'

Cc: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/Kconfig

index 631a6242b0112aec566b9df0916eb9b1d1552be5..75bfc3a9d95f3f118e6eae1cdc649fd0a442baeb 100644 (file)
@@ -15,7 +15,7 @@ config CAIF_TTY
 
 config CAIF_SPI_SLAVE
        tristate "CAIF SPI transport driver for slave interface"
-       depends on CAIF
+       depends on CAIF && HAS_DMA
        default n
        ---help---
        The CAIF Link layer SPI Protocol driver for Slave SPI interface.