Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166507
b: refs/heads/master
c: 0fd92a1
h: refs/heads/master
i:
  166505: 9f129bb
  166503: 2ea78bf
v: v3
  • Loading branch information
Tobias Klauser authored and Tony Lindgren committed Sep 24, 2009
1 parent ec7d700 commit adacb9a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 44e74840d668d23b65e22772828e2600641b6ab0
refs/heads/master: 0fd92a15a01e6a57c1bbc816c574ec135c1c482e
4 changes: 2 additions & 2 deletions trunk/drivers/char/hw_random/omap-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ static int __devinit omap_rng_probe(struct platform_device *pdev)
if (!res)
return -ENOENT;

mem = request_mem_region(res->start, res->end - res->start + 1,
mem = request_mem_region(res->start, resource_size(res),
pdev->name);
if (mem == NULL) {
ret = -EBUSY;
goto err_region;
}

dev_set_drvdata(&pdev->dev, mem);
rng_base = ioremap(res->start, res->end - res->start + 1);
rng_base = ioremap(res->start, resource_size(res));
if (!rng_base) {
ret = -ENOMEM;
goto err_ioremap;
Expand Down

0 comments on commit adacb9a

Please sign in to comment.