diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-02-21 23:56:09 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-03-05 16:42:45 +0400 |
commit | 2925b0d78fa32be3136563f580c852d163a32300 (patch) | |
tree | cee698af9e0a8d498614b11e64b4ca041831439c /drivers/video/Kconfig | |
parent | d8d789416aa71253c6532c9adc7469cb947031f6 (diff) | |
download | linux-2925b0d78fa32be3136563f580c852d163a32300.tar.xz |
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/Kconfig | 2 |
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 |