From: Mauro Carvalho Chehab Date: Fri, 6 Jul 2012 13:41:53 +0000 (-0300) Subject: [media] uvc/Kconfig: Fix INPUT/EVDEV dependencies X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=81059812c246cc4308447c0f2964c0b26d963778;p=openwrt%2Fstaging%2Fblogic.git [media] uvc/Kconfig: Fix INPUT/EVDEV dependencies USB_VIDEO_CLASS_INPUT_EVDEV should be dependent on the UVC selection, as otherwise, when UVC is unselected, this dependent config still appears. 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 6c197da531b2..541c9f1e4c6a 100644 --- a/drivers/media/video/uvc/Kconfig +++ b/drivers/media/video/uvc/Kconfig @@ -10,6 +10,7 @@ config USB_VIDEO_CLASS config USB_VIDEO_CLASS_INPUT_EVDEV bool "UVC input events device support" default y + depends on USB_VIDEO_CLASS depends on USB_VIDEO_CLASS=INPUT || INPUT=y ---help--- This option makes USB Video Class devices register an input device