From: Heiko Carstens Date: Tue, 24 Aug 2010 19:21:13 +0000 (-0700) Subject: caif-driver: add HAS_DMA dependency X-Git-Tag: MMI-PSA29.97-13-9~22097^2~163 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9dc002d8d9c2af837e789b5bb88c61a8b32c1be8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git caif-driver: add HAS_DMA dependency 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 Signed-off-by: Heiko Carstens Signed-off-by: David S. Miller --- diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig index 631a6242b011..75bfc3a9d95f 100644 --- a/drivers/net/caif/Kconfig +++ b/drivers/net/caif/Kconfig @@ -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.