]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
PCI: Allow building PCIe things without PCIEPORTBUS
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 6 Nov 2019 22:13:43 +0000 (16:13 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Nov 2019 13:52:33 +0000 (07:52 -0600)
commitb7da3d4df05232d637eff1c0874d20996b98769c
tree92d09adbe8dc687d54d115e81e385f0000d766d5
parentb6479581e6823239c3e03b1d006f160c6c491ba0
PCI: Allow building PCIe things without PCIEPORTBUS

Some things in drivers/pci/pcie (aspm.c and ptm.c) do not depend on the
PCIe portdrv, so we should be able to build them even if PCIEPORTBUS is not
selected.  Remove the PCIEPORTBUS guard from building pcie/.

Link: https://lore.kernel.org/r/20191106222420.10216-6-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
drivers/pci/Makefile