Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353711
b: refs/heads/master
c: bc5e6de
h: refs/heads/master
i:
  353709: ea2aa10
  353707: f507de1
  353703: 1df6650
  353695: e9d857b
v: v3
  • Loading branch information
Thierry Reding authored and Greg Kroah-Hartman committed Jan 25, 2013
1 parent fe85691 commit 64568a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: d4ed60259e16106566ca489f64ebbd8a379d8972
refs/heads/master: bc5e6dea81b025aba8fecec5c18f6faf81db9562
7 changes: 4 additions & 3 deletions trunk/drivers/iommu/tegra-smmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#define pr_fmt(fmt) "%s(): " fmt, __func__

#include <linux/err.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
Expand Down Expand Up @@ -1176,9 +1177,9 @@ static int tegra_smmu_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, i);
if (!res)
return -ENODEV;
smmu->regs[i] = devm_request_and_ioremap(&pdev->dev, res);
if (!smmu->regs[i])
return -EBUSY;
smmu->regs[i] = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(smmu->regs[i]))
return PTR_ERR(smmu->regs[i]);
}

err = of_get_dma_window(dev->of_node, NULL, 0, NULL, &base, &size);
Expand Down

0 comments on commit 64568a4

Please sign in to comment.