OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
719888a
)
Move 'const' to correct place, so it has meaning.
author
Thomas Klausner
<wiz@NetBSD.org>
Tue, 11 Jun 2013 09:45:50 +0000
(11:45 +0200)
committer
Alan Coopersmith
<alan.coopersmith@oracle.com>
Wed, 12 Jun 2013 06:16:30 +0000
(23:16 -0700)
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
src/common_interface.c
patch
|
blob
|
history
diff --git
a/src/common_interface.c
b/src/common_interface.c
index
6dccf8e
..
3425edc
100644
(file)
--- a/
src/common_interface.c
+++ b/
src/common_interface.c
@@
-268,7
+268,7
@@
pci_device_map_range(struct pci_device *dev, pciaddr_t base,
for (region = 0; region < 6; region++) {
- const struct pci_mem_region
const*
r = &dev->regions[region];
+ const struct pci_mem_region
* const
r = &dev->regions[region];
if (r->size != 0) {
if ((r->base_addr <= base) && ((r->base_addr + r->size) > base)) {