Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64751
b: refs/heads/master
c: 51e5709
h: refs/heads/master
i:
  64749: c6c9613
  64747: 7e8d0d8
  64743: 5a452ed
  64735: abe8195
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Sep 9, 2007
1 parent 52f6852 commit 51b1aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 9a3180e70e35ff69586ada5421b5e7bad52f60e4
refs/heads/master: 51e5709ad46127da9476f31336113b5401f94dba
2 changes: 1 addition & 1 deletion trunk/drivers/i2c/busses/i2c-pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ static int i2c_pxa_probe(struct platform_device *dev)
* The reason to do so is to avoid sysfs names that only make
* sense when there are multiple adapters.
*/
i2c->adap.nr = dev->id >= 0 ? dev->id : 0;
i2c->adap.nr = dev->id != -1 ? dev->id : 0;

ret = i2c_add_numbered_adapter(&i2c->adap);
if (ret < 0) {
Expand Down

0 comments on commit 51b1aa6

Please sign in to comment.