blob: dce0a603353d3326fc3c65961a7d3a091f151e4d [file] [log] [blame]
From stable-bounces@linux.kernel.org Sun Nov 19 19:21:58 2006
Message-ID: <45611E4B.8060002@linuxtv.org>
Date: Sun, 19 Nov 2006 22:17:31 -0500
From: Michael Krufky <mkrufky@linuxtv.org>
To: stable@kernel.org
Cc: v4l-dvb maintainer list <v4l-dvb-maintainer@linuxtv.org>
Subject: V4L: Do not enable VIDEO_V4L2 unconditionally
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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
drivers/media/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-2.6.18.4.orig/drivers/media/Kconfig
+++ linux-2.6.18.4/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"