diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2003-06-03 02:41:07 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2003-06-03 02:41:07 -0700 |
| commit | cc927c9a3e0021648af355911dbb009ffd99424c (patch) | |
| tree | 51d3c69bedf757c4aa5c00b4539b67334e91deed /include/linux | |
| parent | 5388d99a571afdf0a5e7656dd4e51285bf40d0d7 (diff) | |
[PATCH] PCI: make pci_setup_device(), pci_alloc_primary_bus() and pci_alloc_primary_bus_parented() static
No one is calling these functions.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index fd6f80c5142d..b72da17b18ad 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -546,11 +546,6 @@ static inline struct pci_bus *pci_scan_bus(int bus, struct pci_ops *ops, void *s { return pci_scan_bus_parented(NULL, bus, ops, sysdata); } -struct pci_bus *pci_alloc_primary_bus_parented(struct device * parent, int bus); -static inline struct pci_bus *pci_alloc_primary_bus(int bus) -{ - return pci_alloc_primary_bus_parented(NULL, bus); -} int pci_scan_slot(struct pci_bus *bus, int devfn); void pci_bus_add_devices(struct pci_bus *bus); int pci_proc_attach_device(struct pci_dev *dev); @@ -561,7 +556,6 @@ void pci_name_device(struct pci_dev *dev); char *pci_class_name(u32 class); void pci_read_bridge_bases(struct pci_bus *child); struct resource *pci_find_parent_resource(const struct pci_dev *dev, struct resource *res); -int pci_setup_device(struct pci_dev *dev); int pci_get_interrupt_pin(struct pci_dev *dev, struct pci_dev **bridge); extern struct pci_dev *pci_get_dev(struct pci_dev *dev); extern void pci_put_dev(struct pci_dev *dev); |
