Commit 0a5ef7b9 authored by Bjorn Helgaas's avatar Bjorn Helgaas

PCI: Change pci_bus_region addresses to dma_addr_t

Struct pci_bus_region contains bus addresses, which are type dma_addr_t,
not resource_size_t.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 6ce4eac1
...@@ -551,8 +551,8 @@ int raw_pci_write(unsigned int domain, unsigned int bus, unsigned int devfn, ...@@ -551,8 +551,8 @@ int raw_pci_write(unsigned int domain, unsigned int bus, unsigned int devfn,
int reg, int len, u32 val); int reg, int len, u32 val);
struct pci_bus_region { struct pci_bus_region {
resource_size_t start; dma_addr_t start;
resource_size_t end; dma_addr_t end;
}; };
struct pci_dynids { struct pci_dynids {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment