]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[media] staging: se401 depends on USB
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 30 Dec 2010 18:23:41 +0000 (15:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 31 Dec 2010 00:29:41 +0000 (22:29 -0200)
Fix build errors by adding "depends on USB":

ERROR: "usb_register_driver" [drivers/staging/se401/se401.ko] undefined!
ERROR: "usb_alloc_urb" [drivers/staging/se401/se401.ko] undefined!
ERROR: "usb_submit_urb" [drivers/staging/se401/se401.ko] undefined!
ERROR: "usb_control_msg" [drivers/staging/se401/se401.ko] undefined!
ERROR: "usb_free_urb" [drivers/staging/se401/se401.ko] undefined!
ERROR: "usb_kill_urb" [drivers/staging/se401/se401.ko] undefined!
ERROR: "usb_deregister" [drivers/staging/se401/se401.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/se401/Kconfig

index ee7313e66c793e7b2c37d7581d6e6235253b71d3..b7f8222ad21b8783703e2f73e611b84b2e241d6d 100644 (file)
@@ -1,6 +1,6 @@
 config USB_SE401
        tristate "USB SE401 Camera support (DEPRECATED)"
-       depends on VIDEO_DEV && VIDEO_V4L2_COMMON
+       depends on VIDEO_DEV && VIDEO_V4L2_COMMON && USB
        ---help---
          Say Y here if you want to connect this type of camera to your
          computer's USB port. See <file:Documentation/video4linux/se401.txt>