diff options
Diffstat (limited to 'include/linux/pci.h')
| -rw-r--r-- | include/linux/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 37a71580ad8a..5e84f2e8d54c 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -432,6 +432,8 @@ extern struct bus_type pci_bus_type; | |||
| 432 | * code, or pci core code. */ | 432 | * code, or pci core code. */ |
| 433 | extern struct list_head pci_root_buses; /* list of all known PCI buses */ | 433 | extern struct list_head pci_root_buses; /* list of all known PCI buses */ |
| 434 | extern struct list_head pci_devices; /* list of all devices */ | 434 | extern struct list_head pci_devices; /* list of all devices */ |
| 435 | /* Some device drivers need know if pci is initiated */ | ||
| 436 | extern int no_pci_devices(void); | ||
| 435 | 437 | ||
| 436 | void pcibios_fixup_bus(struct pci_bus *); | 438 | void pcibios_fixup_bus(struct pci_bus *); |
| 437 | int __must_check pcibios_enable_device(struct pci_dev *, int mask); | 439 | int __must_check pcibios_enable_device(struct pci_dev *, int mask); |
| @@ -724,6 +726,7 @@ static inline struct pci_dev *pci_get_class(unsigned int class, struct pci_dev * | |||
| 724 | { return NULL; } | 726 | { return NULL; } |
| 725 | 727 | ||
| 726 | #define pci_dev_present(ids) (0) | 728 | #define pci_dev_present(ids) (0) |
| 729 | #define no_pci_devices() (1) | ||
| 727 | #define pci_find_present(ids) (NULL) | 730 | #define pci_find_present(ids) (NULL) |
| 728 | #define pci_dev_put(dev) do { } while (0) | 731 | #define pci_dev_put(dev) do { } while (0) |
| 729 | 732 | ||
