aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-05-22 10:25:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-17 10:40:28 -0400
commit5077ac3b8108007f4a2b4589f2d373cf55453206 (patch)
tree8aa2240a2470230a78b4e2e424399f01a857b6ff /drivers/media/usb
parent7997196cb4fda8a5ad3570a5645bdc73024554ca (diff)
Properly handle tristate dependencies on USB/PCI menus
As USB/PCI/MEDIA_SUPPORT dependencies can be tristate, we can't simply make the bool menu to be dependent on it. Everything below the menu should also depend on it, otherwise, we risk to allow building them with 'y', while only 'm' would be supported. So, add an IF just before everything below, in order to avoid such risks. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r--drivers/media/usb/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/usb/Kconfig b/drivers/media/usb/Kconfig
index 0d8fe005d1f4..7cac453e34c7 100644
--- a/drivers/media/usb/Kconfig
+++ b/drivers/media/usb/Kconfig
@@ -1,8 +1,7 @@
1if USB 1if USB && MEDIA_SUPPORT
2 2
3menuconfig MEDIA_USB_SUPPORT 3menuconfig MEDIA_USB_SUPPORT
4 bool "Media USB Adapters" 4 bool "Media USB Adapters"
5 depends on MEDIA_SUPPORT
6 help 5 help
7 Enable media drivers for USB bus. 6 Enable media drivers for USB bus.
8 If you have such devices, say Y. 7 If you have such devices, say Y.