Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58814
b: refs/heads/master
c: 1469fa2
h: refs/heads/master
v: v3
  • Loading branch information
Grant Likely authored and Jean Delvare committed Jul 12, 2007
1 parent e3952d3 commit 1750206
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: 65b22ad9508b609b0625eccb2680996a1e09ed16
refs/heads/master: 1469fa263870acd890a4b9f6ef557acc5d673b44
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/busses/i2c-mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,10 @@ static int fsl_i2c_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, i2c);

i2c->adap = mpc_ops;
i2c->adap.nr = pdev->id;
i2c_set_adapdata(&i2c->adap, i2c);
i2c->adap.dev.parent = &pdev->dev;
if ((result = i2c_add_adapter(&i2c->adap)) < 0) {
if ((result = i2c_add_numbered_adapter(&i2c->adap)) < 0) {
printk(KERN_ERR "i2c-mpc - failed to add adapter\n");
goto fail_add;
}
Expand Down

0 comments on commit 1750206

Please sign in to comment.