[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100824151427.GC2160@osiris.boeblingen.de.ibm.com>
Date: Tue, 24 Aug 2010 17:14:27 +0200
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: David Miller <davem@...emloft.net>
Cc: Sjur Braendeland <sjur.brandeland@...ricsson.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: [PATCH] caif-driver: add HAS_DMA dependency
From: Heiko Carstens <heiko.carstens@...ibm.com>
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@...ricsson.com>
Signed-off-by: Heiko Carstens <heiko.carstens@...ibm.com>
---
drivers/net/caif/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists