mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-23 20:11:05 +02:00
Fix remaining bug of the off-by-one error ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13551 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2d7aef6d6c
commit
573fbdce9c
@ -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…
x
Reference in New Issue
Block a user