aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/saa7146_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/common/saa7146_i2c.c b/drivers/media/common/saa7146_i2c.c
index 45f86737699a..fec6beab8c28 100644
--- a/drivers/media/common/saa7146_i2c.c
+++ b/drivers/media/common/saa7146_i2c.c
@@ -403,6 +403,7 @@ int saa7146_i2c_adapter_prepare(struct saa7146_dev *dev, struct i2c_adapter *i2c
403 if( NULL != i2c_adapter ) { 403 if( NULL != i2c_adapter ) {
404 BUG_ON(!i2c_adapter->class); 404 BUG_ON(!i2c_adapter->class);
405 i2c_set_adapdata(i2c_adapter,dev); 405 i2c_set_adapdata(i2c_adapter,dev);
406 i2c_adapter->dev.parent = &dev->pci->dev;
406 i2c_adapter->algo = &saa7146_algo; 407 i2c_adapter->algo = &saa7146_algo;
407 i2c_adapter->algo_data = NULL; 408 i2c_adapter->algo_data = NULL;
408 i2c_adapter->id = I2C_HW_SAA7146; 409 i2c_adapter->id = I2C_HW_SAA7146;