]> git.baikalelectronics.ru Git - kernel.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)
commitd10b99662f79d2b0aff7cb3d7d26ba750425b4b6
treec7306af5a5aef3c29a950c7a3e5f8fd886f4271c
parent32b35476ce1fe7aa73742fe7a36f20057f474be3
PCI: Fix PCI kconfig menu organization

After commit bcd71cc7c2a0 ("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: bcd71cc7c2a0 ("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