diff options
Diffstat (limited to 'include/pci.h')
-rw-r--r-- | include/pci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pci.h b/include/pci.h index c0eefe9209..d7ed35dd52 100644 --- a/include/pci.h +++ b/include/pci.h @@ -1352,11 +1352,12 @@ pci_addr_t dm_pci_phys_to_bus(struct udevice *dev, phys_addr_t addr, size_t len, * @bar: Bar register offset (PCI_BASE_ADDRESS_...) * @offset: Offset from the base to map * @len: Length to map + * @mask: Mask to match flags for the region type * @flags: Flags for the region type (PCI_REGION_...) * @return: pointer to the virtual address to use or 0 on error */ void *dm_pci_map_bar(struct udevice *dev, int bar, size_t offset, size_t len, - unsigned long flags); + unsigned long mask, unsigned long flags); /** * dm_pci_find_next_capability() - find a capability starting from an offset |