diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-21 08:39:47 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-21 08:39:47 -0700 |
commit | 0a5ef7b914be91dd257ae4f35223dd822dd3703a (patch) | |
tree | b26ff4b3b70a5451d29645f386d3f6ba3a82a9c0 /include/linux/pci.h | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | linux-stable-0a5ef7b914be91dd257ae4f35223dd822dd3703a.tar.gz linux-stable-0a5ef7b914be91dd257ae4f35223dd822dd3703a.tar.bz2 linux-stable-0a5ef7b914be91dd257ae4f35223dd822dd3703a.zip |
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 <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |