Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339518
b: refs/heads/master
c: 2148b93
h: refs/heads/master
v: v3
  • Loading branch information
Linus Walleij authored and Russell King committed Dec 3, 2012
1 parent 8eb2307 commit ff30f01
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: 3ad909bc8f2ea32fd7d24266c61cd4605feecec8
refs/heads/master: 2148b93ac86665ee70aea684bac003b3deb31dde
7 changes: 4 additions & 3 deletions trunk/arch/arm/mach-integrator/impd1.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,10 @@ static int impd1_probe(struct lm_device *dev)

pc_base = dev->resource.start + idev->offset;
snprintf(devname, 32, "lm%x:%5.5lx", dev->id, idev->offset >> 12);
d = amba_ahb_device_add(&dev->dev, devname, pc_base, SZ_4K,
dev->irq, dev->irq,
idev->platform_data, idev->id);
d = amba_ahb_device_add_res(&dev->dev, devname, pc_base, SZ_4K,
dev->irq, dev->irq,
idev->platform_data, idev->id,
&dev->resource);
if (IS_ERR(d)) {
dev_err(&dev->dev, "unable to register device: %ld\n", PTR_ERR(d));
continue;
Expand Down

0 comments on commit ff30f01

Please sign in to comment.