From 333657f57ee854caef67bf11c8b84d8bb68acf7b Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Thu, 10 Mar 2005 00:34:12 +0000 Subject: cosmetics --- linux/drivers/media/dvb/pluto2/pluto2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux/drivers') 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; -- cgit v1.2.3