summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@debian.org>2003-07-03 01:51:30 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-07-03 01:51:30 -0700
commitfed2058e09d7ddf242079e0dd409fc25e5f428c0 (patch)
tree01ef02fa090f1a7324c63ade89770db25b3211e9 /include/linux
parentf9cc1da5f29f35a0ebb69124092df437b4ab41fe (diff)
[PATCH] PCI: Remove pci_bus_exists
Convert all callers of pci_bus_exists() to call pci_find_bus() instead. Since all callers of pci_find_bus() are __init or __devinit, mark it as __devinit too.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 72f08971a232..a219c58ad88e 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -544,7 +544,6 @@ void pcibios_update_irq(struct pci_dev *, int irq);
/* Generic PCI functions used internally */
extern struct pci_bus *pci_find_bus(int domain, int busnr);
-int pci_bus_exists(const struct list_head *list, int nr);
struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, struct pci_ops *ops, void *sysdata);
static inline struct pci_bus *pci_scan_bus(int bus, struct pci_ops *ops, void *sysdata)
{