mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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>
This commit is contained in:
parent
6ce4eac1f6
commit
0a5ef7b914
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user