diff options
-rw-r--r-- | linux/drivers/media/dvb/pluto2/pluto2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/pluto2/pluto2.c b/linux/drivers/media/dvb/pluto2/pluto2.c index 77793601f..35636dfe0 100644 --- a/linux/drivers/media/dvb/pluto2/pluto2.c +++ b/linux/drivers/media/dvb/pluto2/pluto2.c @@ -598,12 +598,12 @@ static int __devinit pluto2_probe(struct pci_dev *pdev, goto err_pluto_hw_exit; /* dvb */ - ret = dvb_register_adapter(&dvb_adapter, DRIVER_NAME, THIS_MODULE); + ret = dvb_register_adapter(&pluto->dvb_adapter, DRIVER_NAME, THIS_MODULE); if (ret < 0) goto err_i2c_del_adapter; + dvb_adapter = pluto->dvb_adapter; dvb_adapter->priv = pluto; - pluto->dvb_adapter = dvb_adapter; pluto_read_rev(pluto); pluto_read_mac(pluto, dvb_adapter->proposed_mac); @@ -627,7 +627,7 @@ static int __devinit pluto2_probe(struct pci_dev *pdev, pluto->dmxdev.filternum = NHWFILTERS; pluto->dmxdev.demux = dmx; - ret = dvb_dmxdev_init(&pluto->dmxdev, pluto->dvb_adapter); + ret = dvb_dmxdev_init(&pluto->dmxdev, dvb_adapter); if (ret < 0) goto err_dvb_dmx_release; |