aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 39ecf48ffa3b..5f79c72bae63 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -519,7 +519,7 @@ struct pci_dev *pci_get_device(unsigned int vendor, unsigned int device,
519 struct pci_dev *from); 519 struct pci_dev *from);
520struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device, 520struct pci_dev *pci_get_subsys(unsigned int vendor, unsigned int device,
521 unsigned int ss_vendor, unsigned int ss_device, 521 unsigned int ss_vendor, unsigned int ss_device,
522 struct pci_dev *from); 522 const struct pci_dev *from);
523struct pci_dev *pci_get_slot(struct pci_bus *bus, unsigned int devfn); 523struct pci_dev *pci_get_slot(struct pci_bus *bus, unsigned int devfn);
524struct pci_dev *pci_get_bus_and_slot(unsigned int bus, unsigned int devfn); 524struct pci_dev *pci_get_bus_and_slot(unsigned int bus, unsigned int devfn);
525struct pci_dev *pci_get_class(unsigned int class, struct pci_dev *from); 525struct pci_dev *pci_get_class(unsigned int class, struct pci_dev *from);
@@ -792,7 +792,7 @@ static inline struct pci_dev *pci_get_subsys(unsigned int vendor,
792 unsigned int device, 792 unsigned int device,
793 unsigned int ss_vendor, 793 unsigned int ss_vendor,
794 unsigned int ss_device, 794 unsigned int ss_device,
795 struct pci_dev *from) 795 const struct pci_dev *from)
796{ 796{
797 return NULL; 797 return NULL;
798} 798}