PCI: Change pci_bus_region addresses to dma_addr_t
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 21 Dec 2013 15:39:47 +0000 (08:39 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 21 Dec 2013 15:39:47 +0000 (08:39 -0700)
Struct pci_bus_region contains bus addresses, which are type dma_addr_t,
not resource_size_t.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/pci.h

index 1084a15175e04ff0bc715e3e429aab7027d279f8..7d555527049100a3fbe67342e3aebab4757c9862 100644 (file)
@@ -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 {