]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: Fix PCI kconfig menu organization
authorRob Herring <robh@kernel.org>
Mon, 14 Jan 2019 21:35:46 +0000 (15:35 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 14 Jan 2019 23:01:20 +0000 (17:01 -0600)
commit2e8cb2cf1bd6e90f58bd517eb9ca1938e64fa51c
treec7306af5a5aef3c29a950c7a3e5f8fd886f4271c
parenta3869d43c9800cf39496615361c83635fa3e7c82
PCI: Fix PCI kconfig menu organization

After commit eb01d42a7778 ("PCI: consolidate PCI config entry in
drivers/pci"), all the PCI kconfig options appear below "PCI support"
rather than within a sub-menu.  This is because menuconfig expects all
kconfig entries to be enclosed in an if/endif section.  Add the missing
if/endif.

With this, "depends on PCI" is redundant in the sub-menu  entries and can
be removed.

Fixes: eb01d42a7778 ("PCI: consolidate PCI config entry in drivers/pci")
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/Kconfig