]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fbtft: Disable DMA support if DMA is not available
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 24 Apr 2015 07:44:15 +0000 (09:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 14:51:21 +0000 (16:51 +0200)
commit19bf898cd1559a92e1811d41003d1e6038e557cf
tree76ef68c2905bbdd2573a6944b62adfb08b9bd417
parentd5d929df071aaec056331de723d6f03b3fd0ab28
staging: fbtft: Disable DMA support if DMA is not available

If NO_DMA=y:

    drivers/built-in.o: In function `fbtft_framebuffer_alloc':
    (.text+0xb53cae): undefined reference to `dmam_alloc_coherent'

As DMA support is already optional, make it depend on HAS_DMA.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c