Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -551,8 +551,8 @@ int raw_pci_write(unsigned int domain, unsigned int bus, unsigned int devfn,
		  int reg, int len, u32 val);

struct pci_bus_region {
	resource_size_t start;
	resource_size_t end;
	dma_addr_t start;
	dma_addr_t end;
};

struct pci_dynids {