public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: fix go7007 build failure
@ 2008-11-10  6:39 Wang Chen
  2008-11-12 22:48 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Chen @ 2008-11-10  6:39 UTC (permalink / raw)
  To: gregkh, linux-kernel, Ross Cohen

>From 25a87bb72b5d391c3f01a623c12ce22bc5bb2467 Mon Sep 17 00:00:00 2001
From: Wang Chen <wangchen@cn.fujitsu.com>
Date: Mon, 10 Nov 2008 14:24:08 +0800
Subject: [PATCH] staging: fix go7007 build failure

Comes from commit: df20d69ec968b33526461457c219ad4ba8ba8ac8
"Staging: go7007 v4l fixes".

CC [M]  drivers/staging/go7007/go7007-v4l2.o
drivers/staging/go7007/go7007-v4l2.c:1457: error: 'VID_TYPE_CAPTURE' undeclared here (not in a function)
make[3]: *** [drivers/staging/go7007/go7007-v4l2.o] Error 1
make[2]: *** [drivers/staging/go7007] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [drivers] Error 2

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Cc: Ross Cohen <rcohen@snurgle.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/go7007/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/go7007/Kconfig b/drivers/staging/go7007/Kconfig
index 593fdb7..409bc5d 100644
--- a/drivers/staging/go7007/Kconfig
+++ b/drivers/staging/go7007/Kconfig
@@ -1,6 +1,6 @@
 config VIDEO_GO7007
 	tristate "Go 7007 support"
-	depends on VIDEO_DEV && PCI && I2C && INPUT
+	depends on VIDEO_V4L1_COMPAT && PCI && I2C && INPUT
 	depends on SND
 	select VIDEOBUF_DMA_SG
 	select VIDEO_IR
-- 
1.5.5.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: fix go7007 build failure
  2008-11-10  6:39 [PATCH] staging: fix go7007 build failure Wang Chen
@ 2008-11-12 22:48 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2008-11-12 22:48 UTC (permalink / raw)
  To: Wang Chen; +Cc: gregkh, linux-kernel, Ross Cohen

On Mon, Nov 10, 2008 at 02:39:34PM +0800, Wang Chen wrote:
> >From 25a87bb72b5d391c3f01a623c12ce22bc5bb2467 Mon Sep 17 00:00:00 2001
> From: Wang Chen <wangchen@cn.fujitsu.com>
> Date: Mon, 10 Nov 2008 14:24:08 +0800
> Subject: [PATCH] staging: fix go7007 build failure
> 
> Comes from commit: df20d69ec968b33526461457c219ad4ba8ba8ac8
> "Staging: go7007 v4l fixes".
> 
> CC [M]  drivers/staging/go7007/go7007-v4l2.o
> drivers/staging/go7007/go7007-v4l2.c:1457: error: 'VID_TYPE_CAPTURE' undeclared here (not in a function)
> make[3]: *** [drivers/staging/go7007/go7007-v4l2.o] Error 1
> make[2]: *** [drivers/staging/go7007] Error 2
> make[1]: *** [drivers/staging] Error 2
> make: *** [drivers] Error 2

Now fixed by moving everything to the v4l2 api :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-12 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-10  6:39 [PATCH] staging: fix go7007 build failure Wang Chen
2008-11-12 22:48 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox