]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5702): Fix Kconfig items to avoid linkedition errors
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 26 May 2007 13:45:28 +0000 (10:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 8 Jun 2007 11:21:12 +0000 (08:21 -0300)
The recent changes on Kconfig broke compilation when VIDEO_DEV is compiled
as module. On some cases, drivers like VIDEO_BUF are compiled with 'y' option
instead of 'm':

...

Thanks to: Toralf Forster <toralf.foerster@gmx.de> for pointing this issue.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/Kconfig
drivers/media/video/Kconfig

index c120114c241b327458af773e270d66efa6a17286..5c63c8e24ee74babe23ec1dcdd2434a8e45b30dd 100644 (file)
@@ -4,5 +4,6 @@ config VIDEO_SAA7146
 
 config VIDEO_SAA7146_VV
        tristate
+       depends on VIDEO_DEV
        select VIDEO_BUF
        select VIDEO_SAA7146
index 5cb3f54b548b1dc9f678d486cafa5b8026c58135..4cca55170e21f78f9425fff3d829cffe8d575bb1 100644 (file)
@@ -347,7 +347,7 @@ endmenu # encoder / decoder chips
 
 config VIDEO_VIVI
        tristate "Virtual Video Driver"
-       depends on VIDEO_V4L2 && !SPARC32 && !SPARC64 && PCI
+       depends on VIDEO_V4L2 && !SPARC32 && !SPARC64 && PCI && VIDEO_DEV
        select VIDEO_BUF
        default n
        ---help---