diff options
-rw-r--r-- | drivers/pci/pci.c | 3 | ||||
-rw-r--r-- | include/linux/pci.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 71d561fda0a2..089184bc327d 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -353,7 +353,7 @@ pci_find_parent_resource(const struct pci_dev *dev, struct resource *res) | |||
353 | * Restore the BAR values for a given device, so as to make it | 353 | * Restore the BAR values for a given device, so as to make it |
354 | * accessible by its driver. | 354 | * accessible by its driver. |
355 | */ | 355 | */ |
356 | void | 356 | static void |
357 | pci_restore_bars(struct pci_dev *dev) | 357 | pci_restore_bars(struct pci_dev *dev) |
358 | { | 358 | { |
359 | int i, numres; | 359 | int i, numres; |
@@ -1618,7 +1618,6 @@ early_param("pci", pci_setup); | |||
1618 | 1618 | ||
1619 | device_initcall(pci_init); | 1619 | device_initcall(pci_init); |
1620 | 1620 | ||
1621 | EXPORT_SYMBOL_GPL(pci_restore_bars); | ||
1622 | EXPORT_SYMBOL(pci_reenable_device); | 1621 | EXPORT_SYMBOL(pci_reenable_device); |
1623 | EXPORT_SYMBOL(pci_enable_device_bars); | 1622 | EXPORT_SYMBOL(pci_enable_device_bars); |
1624 | EXPORT_SYMBOL(pci_enable_device); | 1623 | EXPORT_SYMBOL(pci_enable_device); |
diff --git a/include/linux/pci.h b/include/linux/pci.h index ae1006322f80..169899b5c555 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -576,7 +576,6 @@ int pcie_set_readrq(struct pci_dev *dev, int rq); | |||
576 | void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno); | 576 | void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno); |
577 | int __must_check pci_assign_resource(struct pci_dev *dev, int i); | 577 | int __must_check pci_assign_resource(struct pci_dev *dev, int i); |
578 | int __must_check pci_assign_resource_fixed(struct pci_dev *dev, int i); | 578 | int __must_check pci_assign_resource_fixed(struct pci_dev *dev, int i); |
579 | void pci_restore_bars(struct pci_dev *dev); | ||
580 | int pci_select_bars(struct pci_dev *dev, unsigned long flags); | 579 | int pci_select_bars(struct pci_dev *dev, unsigned long flags); |
581 | 580 | ||
582 | /* ROM control related routines */ | 581 | /* ROM control related routines */ |