Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257917
b: refs/heads/master
c: 033590f
h: refs/heads/master
i:
  257915: 735e83c
v: v3
  • Loading branch information
H Hartley Sweeten authored and Herbert Xu committed Jun 29, 2011
1 parent 6e977c8 commit 6c72c00
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: 2725ae17591bf771608fe62c54f7b2badcf7492f
refs/heads/master: 033590fc9d38bb82b904439daada78f930c070db
3 changes: 1 addition & 2 deletions trunk/drivers/char/hw_random/timeriomem-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ static int __devinit timeriomem_rng_probe(struct platform_device *pdev)

timeriomem_rng_data = pdev->dev.platform_data;

timeriomem_rng_data->address = ioremap(res->start,
res->end - res->start + 1);
timeriomem_rng_data->address = ioremap(res->start, resource_size(res));
if (!timeriomem_rng_data->address)
return -EIO;

Expand Down

0 comments on commit 6c72c00

Please sign in to comment.