diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index fee8275df6d8..6c4bc773f7b7 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -441,6 +441,7 @@ struct pci_dev *pci_find_device_reverse (unsigned int vendor, unsigned int devic | |||
441 | struct pci_dev *pci_find_slot (unsigned int bus, unsigned int devfn); | 441 | struct pci_dev *pci_find_slot (unsigned int bus, unsigned int devfn); |
442 | int pci_find_capability (struct pci_dev *dev, int cap); | 442 | int pci_find_capability (struct pci_dev *dev, int cap); |
443 | int pci_find_next_capability (struct pci_dev *dev, u8 pos, int cap); | 443 | int pci_find_next_capability (struct pci_dev *dev, u8 pos, int cap); |
444 | int pci_find_ext_capability (struct pci_dev *dev, int cap); | ||
444 | struct pci_bus * pci_find_next_bus(const struct pci_bus *from); | 445 | struct pci_bus * pci_find_next_bus(const struct pci_bus *from); |
445 | 446 | ||
446 | struct pci_dev *pci_get_device (unsigned int vendor, unsigned int device, struct pci_dev *from); | 447 | struct pci_dev *pci_get_device (unsigned int vendor, unsigned int device, struct pci_dev *from); |
@@ -661,6 +662,7 @@ static inline int pci_register_driver(struct pci_driver *drv) { return 0;} | |||
661 | static inline void pci_unregister_driver(struct pci_driver *drv) { } | 662 | static inline void pci_unregister_driver(struct pci_driver *drv) { } |
662 | static inline int pci_find_capability (struct pci_dev *dev, int cap) {return 0; } | 663 | static inline int pci_find_capability (struct pci_dev *dev, int cap) {return 0; } |
663 | static inline int pci_find_next_capability (struct pci_dev *dev, u8 post, int cap) { return 0; } | 664 | static inline int pci_find_next_capability (struct pci_dev *dev, u8 post, int cap) { return 0; } |
665 | static inline int pci_find_ext_capability (struct pci_dev *dev, int cap) {return 0; } | ||
664 | static inline const struct pci_device_id *pci_match_device(const struct pci_device_id *ids, const struct pci_dev *dev) { return NULL; } | 666 | static inline const struct pci_device_id *pci_match_device(const struct pci_device_id *ids, const struct pci_dev *dev) { return NULL; } |
665 | 667 | ||
666 | /* Power management related routines */ | 668 | /* Power management related routines */ |