V4L/DVB (4706): 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>
This commit is contained in:
Maciej W. Rozycki 2006-10-03 16:01:17 -03:00 committed by Mauro Carvalho Chehab
parent 9448025be0
commit a868b45dad
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ config VIDEO_V4L1_COMPAT
config VIDEO_V4L2
bool
depends on VIDEO_DEV
default y
source "drivers/media/video/Kconfig"