Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367525
b: refs/heads/master
c: a92d4c7
h: refs/heads/master
i:
  367523: c5575a6
v: v3
  • Loading branch information
Silviu-Mihai Popescu authored and Anton Vorontsov committed Apr 1, 2013
1 parent 6498367 commit c1e7b8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 4b44a1ed82b4c2462d86fede459a802668b19d45
refs/heads/master: a92d4c7d02d0af85b0edbf1d3c12b9e09bf1846d
2 changes: 1 addition & 1 deletion trunk/drivers/power/goldfish_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static int goldfish_battery_probe(struct platform_device *pdev)
return -ENODEV;
}

data->reg_base = devm_ioremap(&pdev->dev, r->start, r->end - r->start + 1);
data->reg_base = devm_ioremap(&pdev->dev, r->start, resource_size(r));
if (data->reg_base == NULL) {
dev_err(&pdev->dev, "unable to remap MMIO\n");
return -ENOMEM;
Expand Down

0 comments on commit c1e7b8c

Please sign in to comment.