]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Properly handle tristate dependencies on USB/PCI menus
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 22 May 2013 14:25:52 +0000 (11:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 14:40:28 +0000 (11:40 -0300)
commit5077ac3b8108007f4a2b4589f2d373cf55453206
tree8aa2240a2470230a78b4e2e424399f01a857b6ff
parent7997196cb4fda8a5ad3570a5645bdc73024554ca
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>
drivers/media/pci/Kconfig
drivers/media/usb/Kconfig