gspca: fix sn9c20x build errors
Commit Message
From: Randy Dunlap <randy.dunlap@oracle.com>
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@gmx.de
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/media/video/gspca/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -114,7 +114,7 @@ config USB_GSPCA_SN9C20X
config USB_GSPCA_SN9C20X_EVDEV
bool "Enable evdev support"
- depends on USB_GSPCA_SN9C20X
+ depends on USB_GSPCA_SN9C20X && INPUT
---help---
Say Y here in order to enable evdev support for sn9c20x webcam button.