Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377236
b: refs/heads/master
c: f670758
h: refs/heads/master
v: v3
  • Loading branch information
Tushar Behera authored and David S. Miller committed Jun 19, 2013
1 parent 030dea6 commit 94ee840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 771a37ff4d80b80db3b0df3e7696f14b298c67b7
refs/heads/master: f670758f5b829169562e1016a72af0c59360a541
8 changes: 3 additions & 5 deletions trunk/arch/sparc/kernel/leon_pci_grpci1.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,11 +536,9 @@ static int grpci1_of_probe(struct platform_device *ofdev)

/* find device register base address */
res = platform_get_resource(ofdev, IORESOURCE_MEM, 0);
regs = devm_request_and_ioremap(&ofdev->dev, res);
if (!regs) {
dev_err(&ofdev->dev, "io-regs mapping failed\n");
return -EADDRNOTAVAIL;
}
regs = devm_ioremap_resource(&ofdev->dev, res);
if (IS_ERR(regs))
return PTR_ERR(regs);

/*
* check that we're in Host Slot and that we can act as a Host Bridge
Expand Down

0 comments on commit 94ee840

Please sign in to comment.