aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-24 12:27:18 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-11-05 16:35:17 -0500
commitd73460d79bc88de74221d73723ed61a0081b7a36 (patch)
tree9390f8114a95bb2943a682581104b4cc6ff390e7 /include/linux
parent5257dca0bdc36027a4bfc1002264bd465e86ab7a (diff)
PCI: make pci_match_device() static
pci_match_device() no longer has any other users. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 7c04f38e6ac3..5b23ec7f6cd9 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -631,7 +631,6 @@ static inline int __must_check pci_register_driver(struct pci_driver *driver)
631void pci_unregister_driver(struct pci_driver *); 631void pci_unregister_driver(struct pci_driver *);
632void pci_remove_behind_bridge(struct pci_dev *); 632void pci_remove_behind_bridge(struct pci_dev *);
633struct pci_driver *pci_dev_driver(const struct pci_dev *); 633struct pci_driver *pci_dev_driver(const struct pci_dev *);
634const struct pci_device_id *pci_match_device(struct pci_driver *drv, struct pci_dev *dev);
635const struct pci_device_id *pci_match_id(const struct pci_device_id *ids, struct pci_dev *dev); 634const struct pci_device_id *pci_match_id(const struct pci_device_id *ids, struct pci_dev *dev);
636int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass); 635int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass);
637 636
@@ -760,7 +759,6 @@ static inline void pci_unregister_driver(struct pci_driver *drv) { }
760static inline int pci_find_capability (struct pci_dev *dev, int cap) {return 0; } 759static inline int pci_find_capability (struct pci_dev *dev, int cap) {return 0; }
761static inline int pci_find_next_capability (struct pci_dev *dev, u8 post, int cap) { return 0; } 760static inline int pci_find_next_capability (struct pci_dev *dev, u8 post, int cap) { return 0; }
762static inline int pci_find_ext_capability (struct pci_dev *dev, int cap) {return 0; } 761static inline int pci_find_ext_capability (struct pci_dev *dev, int cap) {return 0; }
763static inline const struct pci_device_id *pci_match_device(const struct pci_device_id *ids, const struct pci_dev *dev) { return NULL; }
764 762
765/* Power management related routines */ 763/* Power management related routines */
766static inline int pci_save_state(struct pci_dev *dev) { return 0; } 764static inline int pci_save_state(struct pci_dev *dev) { return 0; }