Forwarded message:

Date: Mon, 6 Apr 2009 14:57:55 -0700
From: Randy Dunlap <randy.dun...@oracle.com>
To: Mauro Carvalho Chehab <mche...@redhat.com>,        lkml 
<linux-ker...@vger.kernel.org>
Cc: Laurent Pinchart <laurent.pinch...@skynet.be>,        "Rafael J. Wysocki" 
<r...@sisk.pl>
Subject: [PATCH resend] UVC: uvc_status_cleanup(): undefined reference to 
`input_unregister_device'


From: Randy Dunlap <randy.dun...@oracle.com>

Fix build errors when USB_VIDEO_CLASS=y and INPUT=m.
Fixes kernel bugzilla #12671.

Signed-off-by: Randy Dunlap <randy.dun...@oracle.com>
Acked-by: Laurent Pinchart <laurent.pinch...@skynet.be>
---
 drivers/media/video/uvc/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- mmotm-2009-0214-0049.orig/drivers/media/video/uvc/Kconfig
+++ mmotm-2009-0214-0049/drivers/media/video/uvc/Kconfig
@@ -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.



-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to