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)
commit9dc002d8d9c2af837e789b5bb88c61a8b32c1be8
tree3511fa95dce68606a017ad70890fca4a274212b0
parentaa25ab7d943a5e1e6bcc2a65ff6669144f5b5d60
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 <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