提交 eb003ec2 编写于 作者: A Adrian Bunk 提交者: Greg Kroah-Hartman

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: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 b09549ef
...@@ -204,7 +204,6 @@ void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *), ...@@ -204,7 +204,6 @@ void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *),
} }
up_read(&pci_bus_sem); up_read(&pci_bus_sem);
} }
EXPORT_SYMBOL_GPL(pci_walk_bus);
EXPORT_SYMBOL(pci_bus_alloc_resource); EXPORT_SYMBOL(pci_bus_alloc_resource);
EXPORT_SYMBOL_GPL(pci_bus_add_device); EXPORT_SYMBOL_GPL(pci_bus_add_device);
......
...@@ -188,7 +188,6 @@ acpi_status pci_osc_support_set(u32 flags) ...@@ -188,7 +188,6 @@ acpi_status pci_osc_support_set(u32 flags)
} }
return AE_OK; return AE_OK;
} }
EXPORT_SYMBOL(pci_osc_support_set);
/** /**
* pci_osc_control_set - commit requested control to Firmware * pci_osc_control_set - commit requested control to Firmware
......
...@@ -1140,7 +1140,6 @@ struct pci_bus * pci_create_bus(struct device *parent, ...@@ -1140,7 +1140,6 @@ struct pci_bus * pci_create_bus(struct device *parent,
kfree(b); kfree(b);
return NULL; return NULL;
} }
EXPORT_SYMBOL_GPL(pci_create_bus);
struct pci_bus *pci_scan_bus_parented(struct device *parent, struct pci_bus *pci_scan_bus_parented(struct device *parent,
int bus, struct pci_ops *ops, void *sysdata) int bus, struct pci_ops *ops, void *sysdata)
......
...@@ -480,7 +480,3 @@ static int __init pci_proc_init(void) ...@@ -480,7 +480,3 @@ static int __init pci_proc_init(void)
__initcall(pci_proc_init); __initcall(pci_proc_init);
#ifdef CONFIG_HOTPLUG
EXPORT_SYMBOL(pci_proc_detach_bus);
#endif
...@@ -125,7 +125,6 @@ int pci_claim_resource(struct pci_dev *dev, int resource) ...@@ -125,7 +125,6 @@ int pci_claim_resource(struct pci_dev *dev, int resource)
return err; return err;
} }
EXPORT_SYMBOL_GPL(pci_claim_resource);
int pci_assign_resource(struct pci_dev *dev, int resno) int pci_assign_resource(struct pci_dev *dev, int resno)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册