Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181655
b: refs/heads/master
c: 6525e67
h: refs/heads/master
i:
  181653: 0e8a1ec
  181651: c52ee9d
  181647: d4aa7de
v: v3
  • Loading branch information
Oliver Endriss authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 9dd3c94 commit 773deb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 684688d87d697724c46be77858641ee2e8885b02
refs/heads/master: 6525e67c01d303153272c26cb8118a3c314f4a1f
7 changes: 1 addition & 6 deletions trunk/drivers/media/dvb/ngene/ngene-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -847,19 +847,14 @@ static int ngene_i2c_init(struct ngene *dev, int dev_nr)
struct i2c_adapter *adap = &(dev->channel[dev_nr].i2c_adapter);

i2c_set_adapdata(adap, &(dev->channel[dev_nr]));
#ifdef I2C_ADAP_CLASS_TV_DIGITAL
adap->class = I2C_ADAP_CLASS_TV_DIGITAL | I2C_CLASS_TV_ANALOG;
#else
adap->class = I2C_CLASS_TV_ANALOG;
#endif
adap->class = I2C_CLASS_TV_DIGITAL | I2C_CLASS_TV_ANALOG;

strcpy(adap->name, "nGene");

adap->algo = &ngene_i2c_algo;
adap->algo_data = (void *)&(dev->channel[dev_nr]);
adap->dev.parent = &dev->pci_dev->dev;

mutex_init(&adap->bus_lock);
return i2c_add_adapter(adap);
}

Expand Down

0 comments on commit 773deb5

Please sign in to comment.