diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-26 21:06:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 18:04:18 -0500 |
commit | eb003ec26556057e5f27d4b989bbb432d0bdc0f4 (patch) | |
tree | 25f8d27c46f3d289590eef153e8412caba2ddd8b | |
parent | b09549ef9b66b9547520572bedd7af3c1f0747d7 (diff) |
PCI: drivers/pci/: remove unused exports
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>
-rw-r--r-- | drivers/pci/bus.c | 1 | ||||
-rw-r--r-- | drivers/pci/pci-acpi.c | 1 | ||||
-rw-r--r-- | drivers/pci/probe.c | 1 | ||||
-rw-r--r-- | drivers/pci/proc.c | 4 | ||||
-rw-r--r-- | drivers/pci/setup-res.c | 1 |
5 files changed, 0 insertions, 8 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 9e5ea074ad2..863340a7b77 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c | |||
@@ -204,7 +204,6 @@ void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *), | |||
204 | } | 204 | } |
205 | up_read(&pci_bus_sem); | 205 | up_read(&pci_bus_sem); |
206 | } | 206 | } |
207 | EXPORT_SYMBOL_GPL(pci_walk_bus); | ||
208 | 207 | ||
209 | EXPORT_SYMBOL(pci_bus_alloc_resource); | 208 | EXPORT_SYMBOL(pci_bus_alloc_resource); |
210 | EXPORT_SYMBOL_GPL(pci_bus_add_device); | 209 | EXPORT_SYMBOL_GPL(pci_bus_add_device); |
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 5c6a5d04300..02e4876b3b2 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -188,7 +188,6 @@ acpi_status pci_osc_support_set(u32 flags) | |||
188 | } | 188 | } |
189 | return AE_OK; | 189 | return AE_OK; |
190 | } | 190 | } |
191 | EXPORT_SYMBOL(pci_osc_support_set); | ||
192 | 191 | ||
193 | /** | 192 | /** |
194 | * pci_osc_control_set - commit requested control to Firmware | 193 | * pci_osc_control_set - commit requested control to Firmware |
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 5fd585293e7..ceaeac1bd65 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -1140,7 +1140,6 @@ err_out: | |||
1140 | kfree(b); | 1140 | kfree(b); |
1141 | return NULL; | 1141 | return NULL; |
1142 | } | 1142 | } |
1143 | EXPORT_SYMBOL_GPL(pci_create_bus); | ||
1144 | 1143 | ||
1145 | struct pci_bus *pci_scan_bus_parented(struct device *parent, | 1144 | struct pci_bus *pci_scan_bus_parented(struct device *parent, |
1146 | int bus, struct pci_ops *ops, void *sysdata) | 1145 | int bus, struct pci_ops *ops, void *sysdata) |
diff --git a/drivers/pci/proc.c b/drivers/pci/proc.c index 716439e25dd..48ca9ae29e1 100644 --- a/drivers/pci/proc.c +++ b/drivers/pci/proc.c | |||
@@ -480,7 +480,3 @@ static int __init pci_proc_init(void) | |||
480 | 480 | ||
481 | __initcall(pci_proc_init); | 481 | __initcall(pci_proc_init); |
482 | 482 | ||
483 | #ifdef CONFIG_HOTPLUG | ||
484 | EXPORT_SYMBOL(pci_proc_detach_bus); | ||
485 | #endif | ||
486 | |||
diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c index 6dfd86167e3..cb7388c0406 100644 --- a/drivers/pci/setup-res.c +++ b/drivers/pci/setup-res.c | |||
@@ -125,7 +125,6 @@ int pci_claim_resource(struct pci_dev *dev, int resource) | |||
125 | 125 | ||
126 | return err; | 126 | return err; |
127 | } | 127 | } |
128 | EXPORT_SYMBOL_GPL(pci_claim_resource); | ||
129 | 128 | ||
130 | int pci_assign_resource(struct pci_dev *dev, int resno) | 129 | int pci_assign_resource(struct pci_dev *dev, int resno) |
131 | { | 130 | { |