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, 4 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 72698d89e767..6dfa47d25ba4 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1097,6 +1097,10 @@ static inline struct pci_dev *pci_get_bus_and_slot(unsigned int bus,
1097 1097
1098#include <asm/pci.h> 1098#include <asm/pci.h>
1099 1099
1100#ifndef PCIBIOS_MAX_MEM_32
1101#define PCIBIOS_MAX_MEM_32 (-1)
1102#endif
1103
1100/* these helpers provide future and backwards compatibility 1104/* these helpers provide future and backwards compatibility
1101 * for accessing popular PCI BAR info */ 1105 * for accessing popular PCI BAR info */
1102#define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start) 1106#define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start)