linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [media] V4L2: soc_camera: Add run-time dependencies to sh_mobile drivers
@ 2014-05-26 13:17 Jean Delvare
  0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2014-05-26 13:17 UTC (permalink / raw)
  To: linux-media; +Cc: Guennadi Liakhovetski, Mauro Carvalho Chehab

The sh_mobile_ceu_camera and sh_mobile_csi2 drivers are only useful on
SuperH and shmobile unless build testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
---
 drivers/media/platform/soc_camera/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

--- linux-3.15-rc7.orig/drivers/media/platform/soc_camera/Kconfig	2014-05-26 11:20:33.068949368 +0200
+++ linux-3.15-rc7/drivers/media/platform/soc_camera/Kconfig	2014-05-26 14:55:00.964804110 +0200
@@ -56,12 +56,14 @@ config VIDEO_RCAR_VIN
 config VIDEO_SH_MOBILE_CSI2
 	tristate "SuperH Mobile MIPI CSI-2 Interface driver"
 	depends on VIDEO_DEV && SOC_CAMERA && HAVE_CLK
+	depends on ARCH_SHMOBILE || SUPERH || COMPILE_TEST
 	---help---
 	  This is a v4l2 driver for the SuperH MIPI CSI-2 Interface
 
 config VIDEO_SH_MOBILE_CEU
 	tristate "SuperH Mobile CEU Interface driver"
 	depends on VIDEO_DEV && SOC_CAMERA && HAS_DMA && HAVE_CLK
+	depends on ARCH_SHMOBILE || SUPERH || COMPILE_TEST
 	select VIDEOBUF2_DMA_CONTIG
 	select SOC_CAMERA_SCALE_CROP
 	---help---


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-26 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-26 13:17 [PATCH] [media] V4L2: soc_camera: Add run-time dependencies to sh_mobile drivers Jean Delvare

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).