summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 7325d43bf030..9b26c192f327 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -106,7 +106,7 @@ static bool pcie_ari_disabled;
106 * Given a PCI bus, returns the highest PCI bus number present in the set 106 * Given a PCI bus, returns the highest PCI bus number present in the set
107 * including the given PCI bus and its list of child PCI buses. 107 * including the given PCI bus and its list of child PCI buses.
108 */ 108 */
109unsigned char pci_bus_max_busnr(struct pci_bus* bus) 109unsigned char pci_bus_max_busnr(struct pci_bus *bus)
110{ 110{
111 struct pci_bus *tmp; 111 struct pci_bus *tmp;
112 unsigned char max, n; 112 unsigned char max, n;
@@ -1371,7 +1371,7 @@ static void pcim_release(struct device *gendev, void *res)
1371 pci_disable_device(dev); 1371 pci_disable_device(dev);
1372} 1372}
1373 1373
1374static struct pci_devres * get_pci_dr(struct pci_dev *pdev) 1374static struct pci_devres *get_pci_dr(struct pci_dev *pdev)
1375{ 1375{
1376 struct pci_devres *dr, *new_dr; 1376 struct pci_devres *dr, *new_dr;
1377 1377
@@ -1385,7 +1385,7 @@ static struct pci_devres * get_pci_dr(struct pci_dev *pdev)
1385 return devres_get(&pdev->dev, new_dr, NULL, NULL); 1385 return devres_get(&pdev->dev, new_dr, NULL, NULL);
1386} 1386}
1387 1387
1388static struct pci_devres * find_pci_dr(struct pci_dev *pdev) 1388static struct pci_devres *find_pci_dr(struct pci_dev *pdev)
1389{ 1389{
1390 if (pci_is_managed(pdev)) 1390 if (pci_is_managed(pdev))
1391 return devres_find(&pdev->dev, pcim_release, NULL, NULL); 1391 return devres_find(&pdev->dev, pcim_release, NULL, NULL);