diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-05-09 15:04:52 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-12 03:28:24 +0400 |
commit | 79e0c19e85cd1617efcf441988a206ffc96b56a1 (patch) | |
tree | 37e359887086b7e1766ca07d0c95cd2056f018a7 /drivers/net/caif/Kconfig | |
parent | 822bc329695ac1612c87efe68bd8f7d5cbb47be9 (diff) | |
download | linux-79e0c19e85cd1617efcf441988a206ffc96b56a1.tar.xz |
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>
Diffstat (limited to 'drivers/net/caif/Kconfig')
-rw-r--r-- | drivers/net/caif/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig index 7ffc756131a2..547098086773 100644 --- a/drivers/net/caif/Kconfig +++ b/drivers/net/caif/Kconfig @@ -43,7 +43,7 @@ config CAIF_HSI config CAIF_VIRTIO tristate "CAIF virtio transport driver" - depends on CAIF + depends on CAIF && HAS_DMA select VHOST_RING select VIRTIO select GENERIC_ALLOCATOR |