summaryrefslogtreecommitdiffstats
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2014-02-21 20:56:09 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-05 14:42:45 +0200
commit2925b0d78fa32be3136563f580c852d163a32300 (patch)
treecee698af9e0a8d498614b11e64b4ca041831439c /drivers/video/Kconfig
parentd8d789416aa71253c6532c9adc7469cb947031f6 (diff)
downloadlinux-stable-2925b0d78fa32be3136563f580c852d163a32300.tar.gz
linux-stable-2925b0d78fa32be3136563f580c852d163a32300.tar.bz2
linux-stable-2925b0d78fa32be3136563f580c852d163a32300.zip
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>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r--drivers/video/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 22262a3a0e2d..78e2fc7a4840 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -982,7 +982,7 @@ config FB_PVR2
config FB_OPENCORES
tristate "OpenCores VGA/LCD core 2.0 framebuffer support"
- depends on FB
+ depends on FB && HAS_DMA
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT