linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [media] media: Kconfig: add dependency of HAS_DMA
@ 2015-12-30 13:26 Sudip Mukherjee
  2016-01-11 12:53 ` Sudip Mukherjee
  2016-01-23 13:55 ` Geert Uytterhoeven
  0 siblings, 2 replies; 9+ messages in thread
From: Sudip Mukherjee @ 2015-12-30 13:26 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: linux-kernel, linux-media, Andrew Morton, Sudip Mukherjee

The build of m32r allmodconfig fails with the error:
drivers/media/v4l2-core/videobuf2-dma-contig.c:484:2:
	error: implicit declaration of function 'dma_get_cache_alignment'

The build of videobuf2-dma-contig.c depends on HAS_DMA and it is
correctly mentioned in the Kconfig but the symbol VIDEO_STI_BDISP also
selects VIDEOBUF2_DMA_CONTIG, so it is trying to compile
videobuf2-dma-contig.c even though HAS_DMA is not defined.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 drivers/media/platform/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 5263594..8b89ebe1 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -215,6 +215,7 @@ config VIDEO_SAMSUNG_EXYNOS_GSC
 config VIDEO_STI_BDISP
 	tristate "STMicroelectronics BDISP 2D blitter driver"
 	depends on VIDEO_DEV && VIDEO_V4L2
+	depends on HAS_DMA
 	depends on ARCH_STI || COMPILE_TEST
 	select VIDEOBUF2_DMA_CONTIG
 	select V4L2_MEM2MEM_DEV
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-03 19:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-30 13:26 [PATCH] [media] media: Kconfig: add dependency of HAS_DMA Sudip Mukherjee
2016-01-11 12:53 ` Sudip Mukherjee
2016-01-12 14:10   ` Sakari Ailus
2016-01-12 16:05     ` Sudip Mukherjee
2016-01-13 14:36     ` Marek Szyprowski
2016-01-14  8:46       ` Sakari Ailus
2016-02-03  8:01         ` Sudip Mukherjee
2016-02-03 19:13           ` Sakari Ailus
2016-01-23 13:55 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).