aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran/zoran_card.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/zoran/zoran_card.c')
-rw-r--r--drivers/media/video/zoran/zoran_card.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/video/zoran/zoran_card.c b/drivers/media/video/zoran/zoran_card.c
index f91bba435ed5..1ef70b090c4c 100644
--- a/drivers/media/video/zoran/zoran_card.c
+++ b/drivers/media/video/zoran/zoran_card.c
@@ -1360,11 +1360,13 @@ static int __devinit zoran_probe(struct pci_dev *pdev,
1360 goto zr_free_irq; 1360 goto zr_free_irq;
1361 } 1361 }
1362 1362
1363 zr->decoder = v4l2_i2c_new_probed_subdev(&zr->i2c_adapter, 1363 zr->decoder = v4l2_i2c_new_probed_subdev(&zr->v4l2_dev,
1364 zr->card.mod_decoder, zr->card.i2c_decoder, zr->card.addrs_decoder); 1364 &zr->i2c_adapter, zr->card.mod_decoder, zr->card.i2c_decoder,
1365 zr->card.addrs_decoder);
1365 1366
1366 if (zr->card.mod_encoder) 1367 if (zr->card.mod_encoder)
1367 zr->encoder = v4l2_i2c_new_probed_subdev(&zr->i2c_adapter, 1368 zr->encoder = v4l2_i2c_new_probed_subdev(&zr->v4l2_dev,
1369 &zr->i2c_adapter,
1368 zr->card.mod_encoder, zr->card.i2c_encoder, 1370 zr->card.mod_encoder, zr->card.i2c_encoder,
1369 zr->card.addrs_encoder); 1371 zr->card.addrs_encoder);
1370 1372