From: Randy Dunlap Date: Mon, 6 Apr 2009 21:57:55 +0000 (-0300) Subject: V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_... X-Git-Tag: v5.15~34401^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=82bea2020fad535dbd4b1466595c8c9ae23b4943;p=mirror_ubuntu-kernels.git V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device' Fix build errors when USB_VIDEO_CLASS=y and INPUT=m. Fixes kernel bugzilla #12671. Signed-off-by: Randy Dunlap Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/uvc/Kconfig b/drivers/media/video/uvc/Kconfig index c2d9760de832..2956a7637219 100644 --- a/drivers/media/video/uvc/Kconfig +++ b/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.