Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173869
b: refs/heads/master
c: 155a493
h: refs/heads/master
i:
  173867: 6ff3f35
v: v3
  • Loading branch information
Kevin Wells authored and Ben Dooks committed Dec 9, 2009
1 parent 493a866 commit 1382b73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: ef871432e1334dea4c79f9875f4db87cee7b9b50
refs/heads/master: 155a49319fabae97c14c7eb474562f2bdfe5af1f
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/busses/i2c-pnx.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,8 @@ static int __devinit i2c_pnx_probe(struct platform_device *pdev)

/* Register this adapter with the I2C subsystem */
i2c_pnx->adapter->dev.parent = &pdev->dev;
ret = i2c_add_adapter(i2c_pnx->adapter);
i2c_pnx->adapter->nr = pdev->id;
ret = i2c_add_numbered_adapter(i2c_pnx->adapter);
if (ret < 0) {
dev_err(&pdev->dev, "I2C: Failed to add bus\n");
goto out_irq;
Expand Down

0 comments on commit 1382b73

Please sign in to comment.