fbdev: FB_OPENCORES should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 21 Feb 2014 19:56:09 +0000 (20:56 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 5 Mar 2014 12:42:45 +0000 (14:42 +0200)
commit2925b0d78fa32be3136563f580c852d163a32300
treecee698af9e0a8d498614b11e64b4ca041831439c
parentd8d789416aa71253c6532c9adc7469cb947031f6
fbdev: FB_OPENCORES should depend on HAS_DMA

If NO_DMA=y:

    drivers/built-in.o: In function `ocfb_remove':
    ocfb.c:(.text+0x27fee): undefined reference to `dma_free_coherent'
    drivers/built-in.o: In function `ocfb_probe':
    ocfb.c:(.text+0x28418): undefined reference to `dma_alloc_coherent'
    ocfb.c:(.text+0x284d2): undefined reference to `dma_free_coherent'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/Kconfig