can: CAN_GRCAN should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 23 Apr 2015 18:04:51 +0000 (20:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2015 18:09:58 +0000 (14:09 -0400)
commit2fb42aab48762fb1d5e21fbb40acad0f2650b9b4
tree775b088b7e1b5c273819e45eb75fc2d2d33c39d8
parent0357cc1def050c4d6107835ed6b79122243bd240
can: CAN_GRCAN should depend on HAS_DMA

If NO_DMA=y:

    drivers/built-in.o: In function `grcan_free_dma_buffers':
    grcan.c:(.text+0x2d7716): undefined reference to `dma_free_coherent'
    drivers/built-in.o: In function `grcan_allocate_dma_buffers':
    grcan.c:(.text+0x2d779c): undefined reference to `dma_alloc_coherent'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/Kconfig