V4L/DVB (5637): Cx88: kill core->pll_desc and core->pll_addr
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 8 May 2007 21:23:40 +0000 (18:23 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:23:30 +0000 (14:23 -0300)
Now that dvb-pll is being used properly in all cx88-dvb instances,
the cx88 driver no longer needs to store pll_desc nor pll_addr.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-dvb.c
drivers/media/video/cx88/cx88.h

index affec4674adb9e3eee5f96afecc82c5c52233b75..c253e20087ce31445e12526e5eb5edaf4bc1d780 100644 (file)
@@ -634,10 +634,6 @@ static int dvb_register(struct cx8802_dev *dev)
                return -1;
        }
 
-       if (dev->core->pll_desc) {
-               dev->dvb.frontend->ops.info.frequency_min = dev->core->pll_desc->min;
-               dev->dvb.frontend->ops.info.frequency_max = dev->core->pll_desc->max;
-       }
        /* Ensure all frontends negotiate bus access */
        dev->dvb.frontend->ops.ts_bus_ctrl = cx88_dvb_bus_ctrl;
 
index 738d4f20c580da46fd1ba215d4c0ce9f563568c9..250c29ab032dd1049b9da1a9630fd0a53c78de21 100644 (file)
@@ -316,8 +316,6 @@ struct cx88_core {
 
        /* config info -- dvb */
 #if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE)
-       struct dvb_pll_desc        *pll_desc;
-       unsigned int               pll_addr;
        int                        (*prev_set_voltage)(struct dvb_frontend* fe, fe_sec_voltage_t voltage);
 #endif