V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_...
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 6 Apr 2009 21:57:55 +0000 (18:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:52 +0000 (21:44 -0300)
Fix build errors when USB_VIDEO_CLASS=y and INPUT=m.
Fixes kernel bugzilla #12671.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/Kconfig

index c2d9760de832795b1a9fa9a97dbc15c9c5dc24f2..2956a7637219acd6735a53f7d5292fec4ad45926 100644 (file)
@@ -9,7 +9,7 @@ config USB_VIDEO_CLASS
 config USB_VIDEO_CLASS_INPUT_EVDEV
        bool "UVC input events device support"
        default y
-       depends on USB_VIDEO_CLASS && INPUT
+       depends on USB_VIDEO_CLASS=INPUT || INPUT=y
        ---help---
          This option makes USB Video Class devices register an input device
          to report button events.