From: Bjorn Helgaas Date: Sat, 21 Dec 2013 15:39:47 +0000 (-0700) Subject: PCI: Change pci_bus_region addresses to dma_addr_t X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a5ef7b914be91dd257ae4f35223dd822dd3703a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Bjorn Helgaas --- diff --git a/include/linux/pci.h b/include/linux/pci.h index 1084a15175e0..7d5555270491 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -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 {