summaryrefslogtreecommitdiff
path: root/drivers/pci/pci-driver.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2024-03-12 20:14:24 +0300
committerBjorn Helgaas <bhelgaas@google.com>2024-03-12 20:14:24 +0300
commit45a516f616cae50eabd81c1aa6b1bacbdf2f8c65 (patch)
tree54ec012a56c154e2f39c05cf690e1ad6879028df /drivers/pci/pci-driver.c
parentf931e3cb968abfdc13c2360c411d1a86eec9c1f9 (diff)
parent7adf6ac8521e2102d1d0f970c532e1bb91e1d096 (diff)
downloadlinux-45a516f616cae50eabd81c1aa6b1bacbdf2f8c65.tar.xz
Merge branch 'pci/misc'
- Make pcie_port_bus_type const (Ricardo B. Marliere) * pci/misc: PCI: Make pcie_port_bus_type const
Diffstat (limited to 'drivers/pci/pci-driver.c')
-rw-r--r--drivers/pci/pci-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index 072b83493194..af2996d0d17f 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -1709,7 +1709,7 @@ static int pcie_port_bus_match(struct device *dev, struct device_driver *drv)
return 1;
}
-struct bus_type pcie_port_bus_type = {
+const struct bus_type pcie_port_bus_type = {
.name = "pci_express",
.match = pcie_port_bus_match,
};