Commit 81059812 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 94f74767
...@@ -10,6 +10,7 @@ config USB_VIDEO_CLASS ...@@ -10,6 +10,7 @@ config USB_VIDEO_CLASS
config USB_VIDEO_CLASS_INPUT_EVDEV config USB_VIDEO_CLASS_INPUT_EVDEV
bool "UVC input events device support" bool "UVC input events device support"
default y default y
depends on USB_VIDEO_CLASS
depends on USB_VIDEO_CLASS=INPUT || INPUT=y depends on USB_VIDEO_CLASS=INPUT || INPUT=y
---help--- ---help---
This option makes USB Video Class devices register an input device This option makes USB Video Class devices register an input device
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment