]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
V4L/DVB: vivi: fix depends again
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 29 Jun 2010 04:31:40 +0000 (01:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 18:00:58 +0000 (15:00 -0300)
My previous patch to depend on FONTS was not sufficient since
FONTS is boolean.  VIDEO_VIVI needs to depend on a tristate so that
it won't be enabled as =y when framebuffer is built as modular, so
modify it to depend on the same symbols that FONTS depends on, which
are FRAMEBUFFER_CONSOLE || STI_CONSOLE.

Fixes this build error when VIDEO_VIVI=y and FRAMEBUFFER_CONSOLE=m:
vivi.c:(.init.text+0x7205): undefined reference to `find_font'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/Kconfig

index bdbc9d305419d8778d7bfceded703e1fb55d4c9b..0f1e2fd2426f06db062bd9cfa71eab2435874a82 100644 (file)
@@ -559,7 +559,8 @@ config VIDEO_DAVINCI_VPIF
 
 config VIDEO_VIVI
        tristate "Virtual Video Driver"
-       depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64 && FONTS
+       depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
+       depends on (FRAMEBUFFER_CONSOLE || STI_CONSOLE) && FONTS
        select FONT_8x16
        select VIDEOBUF_VMALLOC
        default n