caif: CAIF_VIRTIO should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 9 May 2013 11:04:52 +0000 (11:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 May 2013 23:28:24 +0000 (16:28 -0700)
commit79e0c19e85cd1617efcf441988a206ffc96b56a1
tree37e359887086b7e1766ca07d0c95cd2056f018a7
parent822bc329695ac1612c87efe68bd8f7d5cbb47be9
caif: CAIF_VIRTIO should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `cfv_destroy_genpool':
drivers/net/caif/caif_virtio.c:364: undefined reference to `dma_free_coherent'
drivers/built-in.o: In function `cfv_create_genpool':
drivers/net/caif/caif_virtio.c:397: undefined reference to `dma_alloc_coherent'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/Kconfig