Fix remaining bug of the off-by-one error ;)
SVN-Revision: 13551
This commit is contained in:
parent
4fad1b5898
commit
6acf4c2a19
|
@ -155,7 +155,7 @@ static int bcm963xx_probe(struct platform_device *pdev)
|
|||
|
||||
r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
bcm963xx_map.phys = r->start;
|
||||
bcm963xx_map.size = (r->end - r->start);
|
||||
bcm963xx_map.size = (r->end - r->start) + 1;
|
||||
bcm963xx_map.virt = ioremap(r->start, r->end - r->start + 1);
|
||||
|
||||
if (!bcm963xx_map.virt) {
|
||||
|
|
Loading…
Reference in New Issue