projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce4eac
)
PCI: Change pci_bus_region addresses to dma_addr_t
author
Bjorn Helgaas
<bhelgaas@google.com>
Sat, 21 Dec 2013 15:39:47 +0000
(08:39 -0700)
committer
Bjorn 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
patch
|
blob
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index
1084a15
..
7d55552
100644
(file)
--- 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 {