Skip to content

Commit

Permalink
PCI: Change pci_bus_region addresses to dma_addr_t
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Helgaas committed Dec 21, 2013
1 parent 6ce4eac commit 0a5ef7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0a5ef7b

Please sign in to comment.