]> err.no Git - linux-2.6/commitdiff
PCI: drivers/pci/: remove unused exports
authorAdrian Bunk <bunk@kernel.org>
Sat, 27 Oct 2007 01:06:33 +0000 (03:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:18 +0000 (15:04 -0800)
This patch removes the following unused exports:
- remove the following unused EXPORT_SYMBOL's:
 - pci-acpi.c: pci_osc_support_set
 - proc.c: pci_proc_detach_bus
- remove the following unused EXPORT_SYMBOL_GPL's:
  - bus.c: pci_walk_bus
  - probe.c: pci_create_bus
  - setup-res.c: pci_claim_resource

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/bus.c
drivers/pci/pci-acpi.c
drivers/pci/probe.c
drivers/pci/proc.c
drivers/pci/setup-res.c

index 9e5ea074ad20f56d041a2fbf82d19ab27f7dca43..863340a7b77f336ab361cb2c1a609f6f4e232088 100644 (file)
@@ -204,7 +204,6 @@ void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *),
        }
        up_read(&pci_bus_sem);
 }
-EXPORT_SYMBOL_GPL(pci_walk_bus);
 
 EXPORT_SYMBOL(pci_bus_alloc_resource);
 EXPORT_SYMBOL_GPL(pci_bus_add_device);
index 5c6a5d043007ebec1418fe2d9a70cf5071cc06eb..02e4876b3b2c8bdd472061e5d334b14814f16c0a 100644 (file)
@@ -188,7 +188,6 @@ acpi_status pci_osc_support_set(u32 flags)
        }
        return AE_OK;
 }
-EXPORT_SYMBOL(pci_osc_support_set);
 
 /**
  * pci_osc_control_set - commit requested control to Firmware
index 5fd585293e7954c777094b6331e5a5fae9c094ca..ceaeac1bd655ee347b179e132572f88d84183cf3 100644 (file)
@@ -1140,7 +1140,6 @@ err_out:
        kfree(b);
        return NULL;
 }
-EXPORT_SYMBOL_GPL(pci_create_bus);
 
 struct pci_bus *pci_scan_bus_parented(struct device *parent,
                int bus, struct pci_ops *ops, void *sysdata)
index 716439e25dd283fcf4ecce43c9966bd33d044a27..48ca9ae29e166b58a9f35ed9f17aaa7a0e0699db 100644 (file)
@@ -480,7 +480,3 @@ static int __init pci_proc_init(void)
 
 __initcall(pci_proc_init);
 
-#ifdef CONFIG_HOTPLUG
-EXPORT_SYMBOL(pci_proc_detach_bus);
-#endif
-
index 6dfd86167e39107fe92058b92a5ade8d90784566..cb7388c0406f60ce55a5e151e40764ec96e93511 100644 (file)
@@ -125,7 +125,6 @@ int pci_claim_resource(struct pci_dev *dev, int resource)
 
        return err;
 }
-EXPORT_SYMBOL_GPL(pci_claim_resource);
 
 int pci_assign_resource(struct pci_dev *dev, int resno)
 {