Skip to contentSkip to conversation

UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device'

PATCH RESEND New Randy Dunlap 1 participant 1 message Apr 6, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device'

From: Randy Dunlap <[email protected]>

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

---
 drivers/media/video/uvc/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/video/uvc/Kconfig +1 -1
@@ -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.