Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77355
b: refs/heads/master
c: 991dee5
h: refs/heads/master
i:
  77353: 736a9f5
  77351: b8a410b
v: v3
  • Loading branch information
Kalle Pokki authored and Jean Delvare committed Jan 27, 2008
1 parent 1fba08b commit 5473efb
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: 8b798c4d16b762d15f4055597ff8d87f73b35552
refs/heads/master: 991dee591a99d035796a8c194eb1796cc020e142
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/busses/i2c-bfin-twi.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ static int i2c_bfin_twi_probe(struct platform_device *dev)

p_adap = &iface->adap;
p_adap->id = I2C_HW_BLACKFIN;
p_adap->nr = dev->id;
strlcpy(p_adap->name, dev->name, sizeof(p_adap->name));
p_adap->algo = &bfin_twi_algorithm;
p_adap->algo_data = iface;
Expand All @@ -576,7 +577,7 @@ static int i2c_bfin_twi_probe(struct platform_device *dev)
bfin_write_TWI_CONTROL(bfin_read_TWI_CONTROL() | TWI_ENA);
SSYNC();

rc = i2c_add_adapter(p_adap);
rc = i2c_add_numbered_adapter(p_adap);
if (rc < 0)
free_irq(iface->irq, iface);
else
Expand Down

0 comments on commit 5473efb

Please sign in to comment.