Skip to content

Commit 4205207

Browse files
sudipm-mukherjeemchehab
authored andcommitted
[media] media: Kconfig: add dependency of HAS_DMA
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 <[email protected]> Acked-by: Sakari Ailus <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent a13ddca commit 4205207

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/media/platform/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ config VIDEO_SAMSUNG_EXYNOS_GSC
215215
config VIDEO_STI_BDISP
216216
tristate "STMicroelectronics BDISP 2D blitter driver"
217217
depends on VIDEO_DEV && VIDEO_V4L2
218+
depends on HAS_DMA
218219
depends on ARCH_STI || COMPILE_TEST
219220
select VIDEOBUF2_DMA_CONTIG
220221
select V4L2_MEM2MEM_DEV

0 commit comments

Comments
 (0)