Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75471
b: refs/heads/master
c: 5cd6e67
h: refs/heads/master
i:
  75469: 0ed6a02
  75467: 53fdd8d
  75463: 7c87377
  75455: 0574f19
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Jan 14, 2008
1 parent 2e17e07 commit a6485d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: f9dd0194ff23d612e463be764d73da7825da4aa1
refs/heads/master: 5cd6e675f862568ad73c061665ee5080cfd952c5
7 changes: 5 additions & 2 deletions trunk/drivers/i2c/busses/i2c-sibyte.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,14 @@ static struct i2c_adapter sibyte_board_adapter[2] = {

static int __init i2c_sibyte_init(void)
{
printk("i2c-swarm.o: i2c SMBus adapter module for SiByte board\n");
pr_info("i2c-sibyte: i2c SMBus adapter module for SiByte board\n");
if (i2c_sibyte_add_bus(&sibyte_board_adapter[0], K_SMB_FREQ_100KHZ) < 0)
return -ENODEV;
if (i2c_sibyte_add_bus(&sibyte_board_adapter[1], K_SMB_FREQ_400KHZ) < 0)
if (i2c_sibyte_add_bus(&sibyte_board_adapter[1],
K_SMB_FREQ_400KHZ) < 0) {
i2c_del_adapter(&sibyte_board_adapter[0]);
return -ENODEV;
}
return 0;
}

Expand Down

0 comments on commit a6485d2

Please sign in to comment.