Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ad668599f263988eaac74354349d64e3c0990a77
Commit:     ad668599f263988eaac74354349d64e3c0990a77
Parent:     24e1c13c93cbdd05e4b7ea921c0050b036555adc
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 27 03:06:22 2007 +0200
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 15:04:18 2008 -0800

    PCI: make pci_restore_bars() static
    
    This patch makes the needlessly global pci_restore_bars() static.
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/pci/pci.c   |    3 +--
 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 71d561f..089184b 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)
  * Restore the BAR values for a given device, so as to make it
  * accessible by its driver.
  */
-void
+static void
 pci_restore_bars(struct pci_dev *dev)
 {
        int i, numres;
@@ -1618,7 +1618,6 @@ early_param("pci", pci_setup);
 
 device_initcall(pci_init);
 
-EXPORT_SYMBOL_GPL(pci_restore_bars);
 EXPORT_SYMBOL(pci_reenable_device);
 EXPORT_SYMBOL(pci_enable_device_bars);
 EXPORT_SYMBOL(pci_enable_device);
diff --git a/include/linux/pci.h b/include/linux/pci.h
index ae10063..169899b 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);
 void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno);
 int __must_check pci_assign_resource(struct pci_dev *dev, int i);
 int __must_check pci_assign_resource_fixed(struct pci_dev *dev, int i);
-void pci_restore_bars(struct pci_dev *dev);
 int pci_select_bars(struct pci_dev *dev, unsigned long flags);
 
 /* ROM control related routines */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to