From: Geert Uytterhoeven Date: Wed, 10 Sep 2008 20:15:18 +0000 (+0200) Subject: VIDEO_SH_MOBILE_CEU should depend on HAS_DMA X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5368f69c8b155d6e82dfc622d817c882689e9cd9;p=linux-2.6 VIDEO_SH_MOBILE_CEU should depend on HAS_DMA commit 0d3244d6439c8c31d2a29efd587c7aca9042c8aa ("V4L/DVB (8342): sh_mobile_ceu_camera: Add SuperH Mobile CEU driver V3") introduced VIDEO_SH_MOBILE_CEU, which selects VIDEOBUF_DMA_CONTIG. This circumvents the dependency on HAS_DMA of VIDEOBUF_DMA_CONTIG. Add a dependency on HAS_DMA to VIDEO_SH_MOBILE_CEU to fix this. Signed-off-by: Geert Uytterhoeven Acked-by: Paul Mundt Acked-by: Magnus Damm Signed-off-by: Linus Torvalds --- diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index ecbfa1b39b..3e9e0dcd21 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig @@ -968,7 +968,7 @@ config VIDEO_PXA27x config VIDEO_SH_MOBILE_CEU tristate "SuperH Mobile CEU Interface driver" - depends on VIDEO_DEV + depends on VIDEO_DEV && HAS_DMA select SOC_CAMERA select VIDEOBUF_DMA_CONTIG ---help---