Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196094
b: refs/heads/master
c: e114474
h: refs/heads/master
v: v3
  • Loading branch information
Tobias Klauser authored and Greg Kroah-Hartman committed May 21, 2010
1 parent 7f47e10 commit 6c1b441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ccc5ca8d4cadc141d6c97ec0213cdd676616a11d
refs/heads/master: e114474cf5c7fe7ab94dd4f5938ffa51c9af77c4
3 changes: 1 addition & 2 deletions trunk/drivers/serial/bfin_sport_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -774,8 +774,7 @@ static int __devinit sport_uart_probe(struct platform_device *pdev)
goto out_error_free_peripherals;
}

sport->port.membase = ioremap(res->start,
res->end - res->start);
sport->port.membase = ioremap(res->start, resource_size(res));
if (!sport->port.membase) {
dev_err(&pdev->dev, "Cannot map sport IO\n");
ret = -ENXIO;
Expand Down

0 comments on commit 6c1b441

Please sign in to comment.