V4L/DVB (4706): Do not enable VIDEO_V4L2 unconditionally
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 3 Oct 2006 19:01:17 +0000 (16:01 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 4 Oct 2006 11:06:38 +0000 (08:06 -0300)
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>
drivers/media/Kconfig

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