public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.18.y PATCH] V4L: Do not enable VIDEO_V4L2 unconditionally
@ 2006-11-20  3:17 Michael Krufky
  0 siblings, 0 replies; only message in thread
From: Michael Krufky @ 2006-11-20  3:17 UTC (permalink / raw)
  To: stable; +Cc: Linux Kernel Mailing List, v4l-dvb maintainer list

From: Maciej W. Rozycki <macro@linux-mips.org>

V4L: Do not enable VIDEO_V4L2 unconditionally

The VIDEO_V4L2 config setting is enabled unconditionally, even for
configurations with no support for this subsystem whatsoever. The
following patch adds the necessary dependency.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index ed4aa4e..9f7e1fe 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -54,6 +54,7 @@ config VIDEO_V4L1_COMPAT
 
 config VIDEO_V4L2
 	bool
+	depends on VIDEO_DEV
 	default y
 
 source "drivers/media/video/Kconfig"


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

only message in thread, other threads:[~2006-11-20  3:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-20  3:17 [2.6.18.y PATCH] V4L: Do not enable VIDEO_V4L2 unconditionally Michael Krufky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox