diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-26 21:06:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 18:04:18 -0500 |
commit | ad668599f263988eaac74354349d64e3c0990a77 (patch) | |
tree | 18239f096baec5d7b598e2bd5cba621d87098ff4 /drivers/pci/pci.c | |
parent | 24e1c13c93cbdd05e4b7ea921c0050b036555adc (diff) |
PCI: make pci_restore_bars() static
This patch makes the needlessly global pci_restore_bars() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r-- | drivers/pci/pci.c | 3 |
1 files changed, 1 insertions, 2 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); |