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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 1a29f9f6b2dc..2ff9d26a078f 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -829,6 +829,9 @@ int pci_request_selected_regions_exclusive(struct pci_dev *, int, const char *);
829void pci_release_selected_regions(struct pci_dev *, int); 829void pci_release_selected_regions(struct pci_dev *, int);
830 830
831/* drivers/pci/bus.c */ 831/* drivers/pci/bus.c */
832#define pci_bus_for_each_resource(bus, res, i) \
833 for (i = 0; res = bus->resource[i], i < PCI_BUS_NUM_RESOURCES; i++)
834
832int __must_check pci_bus_alloc_resource(struct pci_bus *bus, 835int __must_check pci_bus_alloc_resource(struct pci_bus *bus,
833 struct resource *res, resource_size_t size, 836 struct resource *res, resource_size_t size,
834 resource_size_t align, resource_size_t min, 837 resource_size_t align, resource_size_t min,