Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353707
b: refs/heads/master
c: 903b33e
h: refs/heads/master
i:
  353705: 15a261c
  353703: 1df6650
v: v3
  • Loading branch information
Thierry Reding authored and Greg Kroah-Hartman committed Jan 25, 2013
1 parent f3c3829 commit f507de1
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: 7c390a7e956b4bf7b7d6dba4dfb93299c4f0879a
refs/heads/master: 903b33e0292465ebe9705a70084bf9ad06a8a2a5
7 changes: 4 additions & 3 deletions trunk/drivers/amba/tegra-ahb.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*
*/

#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>
Expand Down Expand Up @@ -257,9 +258,9 @@ static int tegra_ahb_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!res)
return -ENODEV;
ahb->regs = devm_request_and_ioremap(&pdev->dev, res);
if (!ahb->regs)
return -EBUSY;
ahb->regs = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(ahb->regs))
return PTR_ERR(ahb->regs);

ahb->dev = &pdev->dev;
platform_set_drvdata(pdev, ahb);
Expand Down

0 comments on commit f507de1

Please sign in to comment.