diff options
| -rw-r--r-- | drivers/of/of_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/of_pci.c b/drivers/of/of_pci.c index e9ec931f5b9a..a7b1cb6c2f65 100644 --- a/drivers/of/of_pci.c +++ b/drivers/of/of_pci.c | |||
| @@ -374,7 +374,7 @@ int of_pci_map_rid(struct device_node *np, u32 rid, | |||
| 374 | 374 | ||
| 375 | pr_debug("%pOF: %s, using mask %08x, rid-base: %08x, out-base: %08x, length: %08x, rid: %08x -> %08x\n", | 375 | pr_debug("%pOF: %s, using mask %08x, rid-base: %08x, out-base: %08x, length: %08x, rid: %08x -> %08x\n", |
| 376 | np, map_name, map_mask, rid_base, out_base, | 376 | np, map_name, map_mask, rid_base, out_base, |
| 377 | rid_len, rid, *id_out); | 377 | rid_len, rid, masked_rid - rid_base + out_base); |
| 378 | return 0; | 378 | return 0; |
| 379 | } | 379 | } |
| 380 | 380 | ||
