aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-26 14:56:26 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:54 -0500
commitc58b5ecd46bf1b4a54b769d4a17afd97af23188d (patch)
treeb1f73ff4ac51ab52ebe75eb7619b52aa36d23b0c
parent9fdd797659de7a989025c64c336542ac9c15d4d1 (diff)
V4L/DVB: [nGene] Trivial I2C related fixes/cleanups
Trivial I2C related fixes/cleanups - Remove Unused I2C ID - point the I2C device to the physical device Signed-off-by: Manu Abraham <manu@linuxtv.org> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/ngene/ngene-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c
index 6f1b06618147..1c86edd908fd 100644
--- a/drivers/media/dvb/ngene/ngene-core.c
+++ b/drivers/media/dvb/ngene/ngene-core.c
@@ -828,9 +828,9 @@ static int ngene_i2c_init(struct ngene *dev, int dev_nr)
828 828
829 strcpy(adap->name, "nGene"); 829 strcpy(adap->name, "nGene");
830 830
831 adap->id = I2C_HW_SAA7146;
832 adap->algo = &ngene_i2c_algo; 831 adap->algo = &ngene_i2c_algo;
833 adap->algo_data = (void *)&(dev->channel[dev_nr]); 832 adap->algo_data = (void *)&(dev->channel[dev_nr]);
833 adap->dev.parent = &dev->pci_dev->dev;
834 834
835 mutex_init(&adap->bus_lock); 835 mutex_init(&adap->bus_lock);
836 return i2c_add_adapter(adap); 836 return i2c_add_adapter(adap);