[PATCH] gspca: fix sn9c20x build errors

From: Randy Dunlap
Date: Mon Aug 24 2009 - 00:16:43 EST

From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix gscpa sn9c20x build errors:
ERROR: "input_event" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!
ERROR: "input_register_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!
ERROR: "input_free_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!
ERROR: "input_unregister_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!
ERROR: "input_allocate_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!

Reported-by: Toralf Förster <toralf.foerster@xxxxxx
Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
drivers/media/video/gspca/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.31-rc7-git1.orig/drivers/media/video/gspca/Kconfig
+++ linux-2.6.31-rc7-git1/drivers/media/video/gspca/Kconfig
@@ -114,7 +114,7 @@ config USB_GSPCA_SN9C20X

bool "Enable evdev support"
- depends on USB_GSPCA_SN9C20X
+ depends on USB_GSPCA_SN9C20X && INPUT
Say Y here in order to enable evdev support for sn9c20x webcam button.

LPC 2009, Sept. 23-25, Portland, Oregon
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/