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 13:42:45 +0100
commit2925b0d78fa32be3136563f580c852d163a32300 (patch)
treecee698af9e0a8d498614b11e64b4ca041831439c /drivers/video/Kconfig
parentOMAPDSS: convert pixel clock to common videomode style (diff)
downloadlinux-2925b0d78fa32be3136563f580c852d163a32300.tar.xz
linux-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