Commit c10c86e5 authored by Thomas Klausner's avatar Thomas Klausner Committed by Alan Coopersmith
Browse files

Move 'const' to correct place, so it has meaning.


Reviewed-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 719888a9
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment