Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177004
b: refs/heads/master
c: 2e032b6
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Dan Williams committed Dec 12, 2009
1 parent 6e5e40a commit f71669f
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: a88f6667078412e5eff37ead68a043ee0ec9f1da
refs/heads/master: 2e032b62c4c8560d6416ad3cc925cfc2a5eafb07
4 changes: 2 additions & 2 deletions trunk/drivers/dma/iop-adma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ static int __devinit iop_adma_probe(struct platform_device *pdev)
return -ENODEV;

if (!devm_request_mem_region(&pdev->dev, res->start,
res->end - res->start, pdev->name))
resource_size(res), pdev->name))
return -EBUSY;

adev = kzalloc(sizeof(*adev), GFP_KERNEL);
Expand Down Expand Up @@ -1542,7 +1542,7 @@ static int __devinit iop_adma_probe(struct platform_device *pdev)
iop_chan->device = adev;

iop_chan->mmr_base = devm_ioremap(&pdev->dev, res->start,
res->end - res->start);
resource_size(res));
if (!iop_chan->mmr_base) {
ret = -ENOMEM;
goto err_free_iop_chan;
Expand Down

0 comments on commit f71669f

Please sign in to comment.