diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-21 10:39:47 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-21 10:39:47 -0500 |
commit | 0a5ef7b914be91dd257ae4f35223dd822dd3703a (patch) | |
tree | b26ff4b3b70a5451d29645f386d3f6ba3a82a9c0 /include/linux/pci.h | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) |
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, | |||
551 | int reg, int len, u32 val); | 551 | int reg, int len, u32 val); |
552 | 552 | ||
553 | struct pci_bus_region { | 553 | struct pci_bus_region { |
554 | resource_size_t start; | 554 | dma_addr_t start; |
555 | resource_size_t end; | 555 | dma_addr_t end; |
556 | }; | 556 | }; |
557 | 557 | ||
558 | struct pci_dynids { | 558 | struct pci_dynids { |