[PATCH -next] media: fix vivi build error

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Wednesday, May 5, 2010 - 3:44 pm

From: Randy Dunlap <randy.dunlap@oracle.com>

vivi uses find_font(), which is only available when FONTS
is enabled, so make vivi depend on FONTS.

ERROR: "find_font" [drivers/media/video/vivi.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/media/video/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100505.orig/drivers/media/video/Kconfig
+++ linux-next-20100505/drivers/media/video/Kconfig
@@ -559,7 +559,7 @@ config VIDEO_DAVINCI_VPIF
 
 config VIDEO_VIVI
 	tristate "Virtual Video Driver"
-	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
+	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64 && FONTS
 	select FONT_8x16
 	select VIDEOBUF_VMALLOC
 	default n
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for May 5, Stephen Rothwell, (Tue May 4, 7:34 pm)
[PATCH -next] media: fix vivi build error, Randy Dunlap, (Wed May 5, 3:44 pm)
[PATCH -next] staging/rar_register: depends on PCI, Randy Dunlap, (Wed May 5, 3:45 pm)
[PATCH -next] usb gadget webcam: depends on VIDEO_DEV, Randy Dunlap, (Wed May 5, 3:46 pm)
Re: [PATCH -next] staging/rar_register: depends on PCI, Randy Dunlap, (Wed May 5, 7:32 pm)
Re: [PATCH -next] usb gadget webcam: depends on VIDEO_DEV, Laurent Pinchart, (Thu May 6, 12:57 am)