summaryrefslogtreecommitdiff
path: root/drivers/media/cec/usb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-17 09:04:55 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-17 09:04:55 +0200
commita735e6b80d911fc1f452cea328c61779445e1054 (patch)
tree01d2ce2f4d131e452032f764555727b6271f0b14 /drivers/media/cec/usb
parente36b68ed273e12a4539b54d24bcdb929d94b68ba (diff)
media: cec/usb: depends on USB_SUPPORT and TTY
As reported by Randy: WARNING: unmet direct dependencies detected for USB Depends on [n]: USB_SUPPORT [=n] && USB_ARCH_HAS_HCD [=n] Selected by [m]: - USB_RAINSHADOW_CEC [=m] && MEDIA_CEC_SUPPORT [=y] WARNING: unmet direct dependencies detected for USB_ACM Depends on [n]: USB_SUPPORT [=n] && USB [=m] && TTY [=n] Selected by [m]: - USB_RAINSHADOW_CEC [=m] && MEDIA_CEC_SUPPORT [=y] in order to be able to select USB_ACM, we need both USB_SUPPORT and TTY. So, depends on those two. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/cec/usb')
-rw-r--r--drivers/media/cec/usb/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/cec/usb/Kconfig b/drivers/media/cec/usb/Kconfig
index d3bbef464bdb..3f3a5c75287a 100644
--- a/drivers/media/cec/usb/Kconfig
+++ b/drivers/media/cec/usb/Kconfig
@@ -2,5 +2,7 @@
#
# USB drivers
+if USB_SUPPORT && TTY
source "drivers/media/cec/usb/pulse8/Kconfig"
source "drivers/media/cec/usb/rainshadow/Kconfig"
+endif