diff options
| author | John Rose <johnrose@austin.ibm.com> | 2004-01-29 00:54:22 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-29 00:54:22 -0800 |
| commit | b323e1dfd14fa4fed77f9360f16e80f23ed917f3 (patch) | |
| tree | 9a6b3718a748c734553798e617dd2e538cc02641 /include | |
| parent | 66f070bafd53464d330435d4fc549cc7f6dea91c (diff) | |
[PATCH] PCI: Allow pci hotplug drivers to initialize individual devices.
This lets the PPC pci hotplug driver initialize single devices, not just
entire slots.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 4178a8b148bb..3ffb95a8f4d2 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -587,6 +587,7 @@ 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); } int pci_scan_slot(struct pci_bus *bus, int devfn); +struct pci_dev * pci_scan_single_device(struct pci_bus *bus, int devfn); void pci_bus_add_devices(struct pci_bus *bus); void pci_name_device(struct pci_dev *dev); char *pci_class_name(u32 class); |
