[PATCH] staging: fix go7007 build failure

From: Wang Chen
Date: Mon Nov 10 2008 - 01:24:08 EST


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@xxxxxxxxxxxxxx>
Cc: Ross Cohen <rcohen@xxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/