[media] dvb-core: add support for a DVBv5 get_frontend() callback
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 22 Dec 2011 17:47:48 +0000 (14:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 11:10:49 +0000 (09:10 -0200)
Creates a DVBv5 get_frontend call, renaming the DVBv3 one to
get_frontend_legacy(), while not all frontends are converted.

After the conversion for all drivers, get_frontend_legacy()
will be removed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
62 files changed:
drivers/media/dvb/bt8xx/dst.c
drivers/media/dvb/dvb-core/dvb_frontend.c
drivers/media/dvb/dvb-core/dvb_frontend.h
drivers/media/dvb/dvb-usb/af9005-fe.c
drivers/media/dvb/dvb-usb/cinergyT2-fe.c
drivers/media/dvb/dvb-usb/dtt200u-fe.c
drivers/media/dvb/dvb-usb/friio-fe.c
drivers/media/dvb/dvb-usb/mxl111sf-demod.c
drivers/media/dvb/dvb-usb/vp702x-fe.c
drivers/media/dvb/dvb-usb/vp7045-fe.c
drivers/media/dvb/firewire/firedtv-fe.c
drivers/media/dvb/frontends/af9013.c
drivers/media/dvb/frontends/atbm8830.c
drivers/media/dvb/frontends/au8522_dig.c
drivers/media/dvb/frontends/cx22700.c
drivers/media/dvb/frontends/cx22702.c
drivers/media/dvb/frontends/cx24110.c
drivers/media/dvb/frontends/cx24123.c
drivers/media/dvb/frontends/cxd2820r_core.c
drivers/media/dvb/frontends/dib3000mb.c
drivers/media/dvb/frontends/dib3000mc.c
drivers/media/dvb/frontends/dib7000m.c
drivers/media/dvb/frontends/dib7000p.c
drivers/media/dvb/frontends/dib8000.c
drivers/media/dvb/frontends/dib9000.c
drivers/media/dvb/frontends/drxd_hard.c
drivers/media/dvb/frontends/drxk_hard.c
drivers/media/dvb/frontends/dvb_dummy_fe.c
drivers/media/dvb/frontends/it913x-fe.c
drivers/media/dvb/frontends/l64781.c
drivers/media/dvb/frontends/lgdt3305.c
drivers/media/dvb/frontends/lgdt330x.c
drivers/media/dvb/frontends/lgs8gl5.c
drivers/media/dvb/frontends/lgs8gxx.c
drivers/media/dvb/frontends/mb86a20s.c
drivers/media/dvb/frontends/mt312.c
drivers/media/dvb/frontends/mt352.c
drivers/media/dvb/frontends/or51132.c
drivers/media/dvb/frontends/s5h1409.c
drivers/media/dvb/frontends/s5h1411.c
drivers/media/dvb/frontends/s5h1420.c
drivers/media/dvb/frontends/s5h1432.c
drivers/media/dvb/frontends/s921.c
drivers/media/dvb/frontends/stb0899_drv.c
drivers/media/dvb/frontends/stb6100.c
drivers/media/dvb/frontends/stv0297.c
drivers/media/dvb/frontends/stv0299.c
drivers/media/dvb/frontends/stv0367.c
drivers/media/dvb/frontends/stv0900_core.c
drivers/media/dvb/frontends/tda10021.c
drivers/media/dvb/frontends/tda10023.c
drivers/media/dvb/frontends/tda10048.c
drivers/media/dvb/frontends/tda1004x.c
drivers/media/dvb/frontends/tda10071.c
drivers/media/dvb/frontends/tda10086.c
drivers/media/dvb/frontends/tda8083.c
drivers/media/dvb/frontends/ves1820.c
drivers/media/dvb/frontends/ves1x93.c
drivers/media/dvb/frontends/zl10353.c
drivers/media/dvb/siano/smsdvb.c
drivers/media/video/tlg2300/pd-dvb.c
drivers/staging/media/as102/as102_fe.c

index 4658bd6d37c85ddfb130ce997656e7c4d83b22c5..6afc083ab72ed8fdb8df33af0c8008654a0237fb 100644 (file)
@@ -1778,7 +1778,7 @@ static struct dvb_frontend_ops dst_dvbt_ops = {
        .init = dst_init,
        .tune = dst_tune_frontend,
        .set_frontend_legacy = dst_set_frontend,
-       .get_frontend = dst_get_frontend,
+       .get_frontend_legacy = dst_get_frontend,
        .get_frontend_algo = dst_get_tuning_algo,
        .read_status = dst_read_status,
        .read_signal_strength = dst_read_signal_strength,
@@ -1804,7 +1804,7 @@ static struct dvb_frontend_ops dst_dvbs_ops = {
        .init = dst_init,
        .tune = dst_tune_frontend,
        .set_frontend_legacy = dst_set_frontend,
-       .get_frontend = dst_get_frontend,
+       .get_frontend_legacy = dst_get_frontend,
        .get_frontend_algo = dst_get_tuning_algo,
        .read_status = dst_read_status,
        .read_signal_strength = dst_read_signal_strength,
@@ -1838,7 +1838,7 @@ static struct dvb_frontend_ops dst_dvbc_ops = {
        .init = dst_init,
        .tune = dst_tune_frontend,
        .set_frontend_legacy = dst_set_frontend,
-       .get_frontend = dst_get_frontend,
+       .get_frontend_legacy = dst_get_frontend,
        .get_frontend_algo = dst_get_tuning_algo,
        .read_status = dst_read_status,
        .read_signal_strength = dst_read_signal_strength,
@@ -1861,7 +1861,7 @@ static struct dvb_frontend_ops dst_atsc_ops = {
        .init = dst_init,
        .tune = dst_tune_frontend,
        .set_frontend_legacy = dst_set_frontend,
-       .get_frontend = dst_get_frontend,
+       .get_frontend_legacy = dst_get_frontend,
        .get_frontend_algo = dst_get_tuning_algo,
        .read_status = dst_read_status,
        .read_signal_strength = dst_read_signal_strength,
index 930868fc1130c8aa6bb1a54d7cfaa0902f7bb206..7246c914a70c2f301c5b42cccc10ceae8c31c8c4 100644 (file)
@@ -139,6 +139,14 @@ struct dvb_frontend_private {
 };
 
 static void dvb_frontend_wakeup(struct dvb_frontend *fe);
+static int dtv_get_frontend(struct dvb_frontend *fe,
+                           struct dtv_frontend_properties *c,
+                           struct dvb_frontend_parameters *p_out);
+
+static bool has_get_frontend(struct dvb_frontend *fe)
+{
+       return fe->ops.get_frontend || fe->ops.get_frontend_legacy;
+}
 
 static void dvb_frontend_add_event(struct dvb_frontend *fe, fe_status_t status)
 {
@@ -149,8 +157,8 @@ static void dvb_frontend_add_event(struct dvb_frontend *fe, fe_status_t status)
 
        dprintk ("%s\n", __func__);
 
-       if ((status & FE_HAS_LOCK) && fe->ops.get_frontend)
-               fe->ops.get_frontend(fe, &fepriv->parameters_out);
+       if ((status & FE_HAS_LOCK) && has_get_frontend(fe))
+               dtv_get_frontend(fe, NULL, &fepriv->parameters_out);
 
        mutex_lock(&events->mtx);
 
@@ -1097,11 +1105,10 @@ static void dtv_property_cache_sync(struct dvb_frontend *fe,
 /* Ensure the cached values are set correctly in the frontend
  * legacy tuning structures, for the advanced tuning API.
  */
-static void dtv_property_legacy_params_sync(struct dvb_frontend *fe)
+static void dtv_property_legacy_params_sync(struct dvb_frontend *fe,
+                                           struct dvb_frontend_parameters *p)
 {
        const struct dtv_frontend_properties *c = &fe->dtv_property_cache;
-       struct dvb_frontend_private *fepriv = fe->frontend_priv;
-       struct dvb_frontend_parameters *p = &fepriv->parameters_in;
 
        p->frequency = c->frequency;
        p->inversion = c->inversion;
@@ -1223,6 +1230,7 @@ static void dtv_property_adv_params_sync(struct dvb_frontend *fe)
 static void dtv_property_cache_submit(struct dvb_frontend *fe)
 {
        const struct dtv_frontend_properties *c = &fe->dtv_property_cache;
+       struct dvb_frontend_private *fepriv = fe->frontend_priv;
 
        /* For legacy delivery systems we don't need the delivery_system to
         * be specified, but we populate the older structures from the cache
@@ -1231,7 +1239,7 @@ static void dtv_property_cache_submit(struct dvb_frontend *fe)
        if(is_legacy_delivery_system(c->delivery_system)) {
 
                dprintk("%s() legacy, modulation = %d\n", __func__, c->modulation);
-               dtv_property_legacy_params_sync(fe);
+               dtv_property_legacy_params_sync(fe, &fepriv->parameters_in);
 
        } else {
                dprintk("%s() adv, modulation = %d\n", __func__, c->modulation);
@@ -1246,6 +1254,58 @@ static void dtv_property_cache_submit(struct dvb_frontend *fe)
        }
 }
 
+/**
+ * dtv_get_frontend - calls a callback for retrieving DTV parameters
+ * @fe:                struct dvb_frontend pointer
+ * @c:         struct dtv_frontend_properties pointer (DVBv5 cache)
+ * @p_out      struct dvb_frontend_parameters pointer (DVBv3 FE struct)
+ *
+ * This routine calls either the DVBv3 or DVBv5 get_frontend call.
+ * If c is not null, it will update the DVBv5 cache struct pointed by it.
+ * If p_out is not null, it will update the DVBv3 params pointed by it.
+ */
+static int dtv_get_frontend(struct dvb_frontend *fe,
+                           struct dtv_frontend_properties *c,
+                           struct dvb_frontend_parameters *p_out)
+{
+       const struct dtv_frontend_properties *cache = &fe->dtv_property_cache;
+       struct dtv_frontend_properties tmp_cache;
+       struct dvb_frontend_parameters tmp_out;
+       bool fill_cache = (c != NULL);
+       bool fill_params = (p_out != NULL);
+       int r;
+
+       if (!p_out)
+               p_out = &tmp_out;
+
+       if (!c)
+               c = &tmp_cache;
+       else
+               memcpy(c, cache, sizeof(*c));
+
+       /* Then try the DVBv5 one */
+       if (fe->ops.get_frontend) {
+               r = fe->ops.get_frontend(fe, c);
+               if (unlikely(r < 0))
+                       return r;
+               if (fill_params)
+                       dtv_property_legacy_params_sync(fe, p_out);
+               return 0;
+       }
+
+       /* As no DVBv5 call exists, use the DVBv3 one */
+       if (fe->ops.get_frontend_legacy) {
+               r = fe->ops.get_frontend_legacy(fe, p_out);
+               if (unlikely(r < 0))
+                       return r;
+               if (fill_cache)
+                       dtv_property_cache_sync(fe, c, p_out);
+               return 0;
+       }
+
+       return -EOPNOTSUPP;
+}
+
 static int dvb_frontend_ioctl_legacy(struct file *file,
                        unsigned int cmd, void *parg);
 static int dvb_frontend_ioctl_properties(struct file *file,
@@ -1296,24 +1356,12 @@ static void dtv_set_default_delivery_caps(const struct dvb_frontend *fe, struct
 }
 
 static int dtv_property_process_get(struct dvb_frontend *fe,
+                                   const struct dtv_frontend_properties *c,
                                    struct dtv_property *tvp,
                                    struct file *file)
 {
-       const struct dtv_frontend_properties *c = &fe->dtv_property_cache;
-       struct dvb_frontend_private *fepriv = fe->frontend_priv;
-       struct dtv_frontend_properties cdetected;
        int r;
 
-       /*
-        * If the driver implements a get_frontend function, then convert
-        * detected parameters to S2API properties.
-        */
-       if (fe->ops.get_frontend) {
-               cdetected = *c;
-               dtv_property_cache_sync(fe, &cdetected, &fepriv->parameters_out);
-               c = &cdetected;
-       }
-
        switch(tvp->cmd) {
        case DTV_ENUM_DELSYS:
                dtv_set_default_delivery_caps(fe, tvp);
@@ -1685,6 +1733,7 @@ static int dvb_frontend_ioctl_properties(struct file *file,
 
        } else
        if(cmd == FE_GET_PROPERTY) {
+               struct dtv_frontend_properties cache_out;
 
                tvps = (struct dtv_properties __user *)parg;
 
@@ -1707,8 +1756,13 @@ static int dvb_frontend_ioctl_properties(struct file *file,
                        goto out;
                }
 
+               /*
+                * Fills the cache out struct with the cache contents, plus
+                * the data retrieved from get_frontend/get_frontend_legacy.
+                */
+               dtv_get_frontend(fe, &cache_out, NULL);
                for (i = 0; i < tvps->num; i++) {
-                       err = dtv_property_process_get(fe, tvp + i, file);
+                       err = dtv_property_process_get(fe, &cache_out, tvp + i, file);
                        if (err < 0)
                                goto out;
                        (tvp + i)->result = err;
@@ -2008,10 +2062,10 @@ static int dvb_frontend_ioctl_legacy(struct file *file,
                break;
 
        case FE_GET_FRONTEND:
-               if (fe->ops.get_frontend) {
-                       err = fe->ops.get_frontend(fe, &fepriv->parameters_out);
-                       memcpy(parg, &fepriv->parameters_out, sizeof(struct dvb_frontend_parameters));
-               }
+               err = dtv_get_frontend(fe, NULL, &fepriv->parameters_out);
+               if (err >= 0)
+                       memcpy(parg, &fepriv->parameters_out,
+                              sizeof(struct dvb_frontend_parameters));
                break;
 
        case FE_SET_FRONTEND_TUNE_MODE:
index 1810bab1fb86d43812a157ac6f32ca266e0b2220..7a7debef53deec881879fd2926c4073ed1656275 100644 (file)
@@ -256,6 +256,8 @@ struct analog_demod_ops {
        int (*set_config)(struct dvb_frontend *fe, void *priv_cfg);
 };
 
+struct dtv_frontend_properties;
+
 struct dvb_frontend_ops {
 
        struct dvb_frontend_info info;
@@ -284,7 +286,8 @@ struct dvb_frontend_ops {
        int (*set_frontend)(struct dvb_frontend *fe);
        int (*get_tune_settings)(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* settings);
 
-       int (*get_frontend)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params);
+       int (*get_frontend_legacy)(struct dvb_frontend *fe, struct dvb_frontend_parameters *params);
+       int (*get_frontend)(struct dvb_frontend *fe, struct dtv_frontend_properties *props);
 
        int (*read_status)(struct dvb_frontend* fe, fe_status_t* status);
        int (*read_ber)(struct dvb_frontend* fe, u32* ber);
index f216933b24d6a92d5220b8615e26ccc2a3189690..e9addd8203cba3e4e17905da6f21a1ef9a09ca68 100644 (file)
@@ -1239,7 +1239,7 @@ static int af9005_fe_get_frontend(struct dvb_frontend *fe,
                                      &temp);
        if (ret)
                return ret;
-       deb_info("===== fe_get_frontend ==============\n");
+       deb_info("===== fe_get_frontend_legacy = =============\n");
        deb_info("CONSTELLATION ");
        switch (temp) {
        case 0:
@@ -1476,7 +1476,7 @@ static struct dvb_frontend_ops af9005_fe_ops = {
        .ts_bus_ctrl = af9005_ts_bus_ctrl,
 
        .set_frontend_legacy = af9005_fe_set_frontend,
-       .get_frontend = af9005_fe_get_frontend,
+       .get_frontend_legacy = af9005_fe_get_frontend,
 
        .read_status = af9005_fe_read_status,
        .read_ber = af9005_fe_read_ber,
index cad22841c4b1b3b18b513944c78fef84c492cbe6..40d50f7415403623c3b9c82f69af9c2a7931f199 100644 (file)
@@ -341,7 +341,7 @@ static struct dvb_frontend_ops cinergyt2_fe_ops = {
        .sleep                  = cinergyt2_fe_sleep,
 
        .set_frontend_legacy            = cinergyt2_fe_set_frontend,
-       .get_frontend           = cinergyt2_fe_get_frontend,
+       .get_frontend_legacy = cinergyt2_fe_get_frontend,
        .get_tune_settings      = cinergyt2_fe_get_tune_settings,
 
        .read_status            = cinergyt2_fe_read_status,
index ef9f7e4dc65f6b99ffa2d22ca15af6ea20b67a0f..7ce8227520d0e4c5a13c1960b98ad03cd4624ea9 100644 (file)
@@ -194,7 +194,7 @@ static struct dvb_frontend_ops dtt200u_fe_ops = {
        .sleep = dtt200u_fe_sleep,
 
        .set_frontend_legacy = dtt200u_fe_set_frontend,
-       .get_frontend = dtt200u_fe_get_frontend,
+       .get_frontend_legacy = dtt200u_fe_get_frontend,
        .get_tune_settings = dtt200u_fe_get_tune_settings,
 
        .read_status = dtt200u_fe_read_status,
index c98e2ccfe4c6f7f83ee047e2bd0438d6dffe8207..7973aaf86453f6be90a362eb4f9184595600011e 100644 (file)
@@ -467,7 +467,7 @@ static struct dvb_frontend_ops jdvbt90502_ops = {
        .set_property = jdvbt90502_set_property,
 
        .set_frontend_legacy = jdvbt90502_set_frontend,
-       .get_frontend = jdvbt90502_get_frontend,
+       .get_frontend_legacy = jdvbt90502_get_frontend,
 
        .read_status = jdvbt90502_read_status,
        .read_signal_strength = jdvbt90502_read_signal_strength,
index 6639d3a8b8bd739105ed8ca1f39fe7d015e59d95..b798cc817eaf939e7d39a5c3f4cbf56bc2f60b27 100644 (file)
@@ -571,7 +571,7 @@ static struct dvb_frontend_ops mxl111sf_demod_ops = {
        .i2c_gate_ctrl        = mxl111sf_i2c_gate_ctrl,
 #endif
        .set_frontend_legacy         = mxl111sf_demod_set_frontend,
-       .get_frontend         = mxl111sf_demod_get_frontend,
+       .get_frontend_legacy = mxl111sf_demod_get_frontend,
        .get_tune_settings    = mxl111sf_demod_get_tune_settings,
        .read_status          = mxl111sf_demod_read_status,
        .read_signal_strength = mxl111sf_demod_read_signal_strength,
index ee2177e020546641fe412f2e5457c6be2701c7c0..8ff5aab1bd161c01b259b17305c1f5a187f7fe09 100644 (file)
@@ -371,7 +371,7 @@ static struct dvb_frontend_ops vp702x_fe_ops = {
        .sleep = vp702x_fe_sleep,
 
        .set_frontend_legacy = vp702x_fe_set_frontend,
-       .get_frontend = vp702x_fe_get_frontend,
+       .get_frontend_legacy = vp702x_fe_get_frontend,
        .get_tune_settings = vp702x_fe_get_tune_settings,
 
        .read_status = vp702x_fe_read_status,
index 4f708c79f922d3adced4bf422f2d70fb2fc83945..f8b5d8c86d7b5434d254ab7254ad8a24b949e409 100644 (file)
@@ -181,7 +181,7 @@ static struct dvb_frontend_ops vp7045_fe_ops = {
        .sleep = vp7045_fe_sleep,
 
        .set_frontend_legacy = vp7045_fe_set_frontend,
-       .get_frontend = vp7045_fe_get_frontend,
+       .get_frontend_legacy = vp7045_fe_get_frontend,
        .get_tune_settings = vp7045_fe_get_tune_settings,
 
        .read_status = vp7045_fe_read_status,
index a887abc13f66be59fb748edc236b78ccee8d42f5..1eb5ad3a5dfacc4ad4c829a3f695f5edc32abf8a 100644 (file)
@@ -174,7 +174,7 @@ void fdtv_frontend_init(struct firedtv *fdtv, const char *name)
        ops->sleep                      = fdtv_sleep;
 
        ops->set_frontend_legacy        = fdtv_set_frontend;
-       ops->get_frontend               = fdtv_get_frontend;
+       ops->get_frontend_legacy = fdtv_get_frontend;
 
        ops->get_property               = fdtv_get_property;
        ops->set_property               = fdtv_set_property;
index 6b5bf4a35c68b7665623e0e58b3a2f2064882144..8a8f78aa3990b8fff70f05337b62ca9c0bc7b95e 100644 (file)
@@ -1513,7 +1513,7 @@ static struct dvb_frontend_ops af9013_ops = {
 
        .get_tune_settings = af9013_get_tune_settings,
        .set_frontend_legacy = af9013_set_frontend,
-       .get_frontend = af9013_get_frontend,
+       .get_frontend_legacy = af9013_get_frontend,
 
        .read_status = af9013_read_status,
        .read_snr = af9013_read_snr,
index 5fc30f30212586e82febd8538cab7d630e746107..c4e090938adc3bfb0f00512286ea0119259c8378 100644 (file)
@@ -450,7 +450,7 @@ static struct dvb_frontend_ops atbm8830_ops = {
        .i2c_gate_ctrl = atbm8830_i2c_gate_ctrl,
 
        .set_frontend_legacy = atbm8830_set_fe,
-       .get_frontend = atbm8830_get_fe,
+       .get_frontend_legacy = atbm8830_get_fe,
        .get_tune_settings = atbm8830_get_tune_settings,
 
        .read_status = atbm8830_read_status,
index 4b74cc8bedf2c5988d6aae2698081af803a1f54f..327d6fee18cd6a8f940b23af87be97ba09c7cbf7 100644 (file)
@@ -1024,7 +1024,7 @@ static struct dvb_frontend_ops au8522_ops = {
        .sleep                = au8522_sleep,
        .i2c_gate_ctrl        = au8522_i2c_gate_ctrl,
        .set_frontend_legacy         = au8522_set_frontend,
-       .get_frontend         = au8522_get_frontend,
+       .get_frontend_legacy = au8522_get_frontend,
        .get_tune_settings    = au8522_get_tune_settings,
        .read_status          = au8522_read_status,
        .read_ber             = au8522_read_ber,
index ce1e74f20f177ef40844643337dbaa106259ad93..7ac95decac3776c4e85dcd5e6df785cab5221447 100644 (file)
@@ -420,7 +420,7 @@ static struct dvb_frontend_ops cx22700_ops = {
        .i2c_gate_ctrl = cx22700_i2c_gate_ctrl,
 
        .set_frontend_legacy = cx22700_set_frontend,
-       .get_frontend = cx22700_get_frontend,
+       .get_frontend_legacy = cx22700_get_frontend,
        .get_tune_settings = cx22700_get_tune_settings,
 
        .read_status = cx22700_read_status,
index 2cea13ed5faa914b2f4a0998ab7c2398992258b9..a04cff8a098298d85bbec77b4ef47fb2a786cd64 100644 (file)
@@ -623,7 +623,7 @@ static const struct dvb_frontend_ops cx22702_ops = {
        .i2c_gate_ctrl = cx22702_i2c_gate_ctrl,
 
        .set_frontend_legacy = cx22702_set_tps,
-       .get_frontend = cx22702_get_frontend,
+       .get_frontend_legacy = cx22702_get_frontend,
        .get_tune_settings = cx22702_get_tune_settings,
 
        .read_status = cx22702_read_status,
index c75f9da20822ab243635e3221a789b9ed1453864..278034dba1a043cc9dd13a8e5080cc7ffb7c3e23 100644 (file)
@@ -644,7 +644,7 @@ static struct dvb_frontend_ops cx24110_ops = {
        .init = cx24110_initfe,
        .write = _cx24110_pll_write,
        .set_frontend_legacy = cx24110_set_frontend,
-       .get_frontend = cx24110_get_frontend,
+       .get_frontend_legacy = cx24110_get_frontend,
        .read_status = cx24110_read_status,
        .read_ber = cx24110_read_ber,
        .read_signal_strength = cx24110_read_signal_strength,
index 134242965a972c3f3efaa9853d2b4460847a96cb..96f99a8fe0a9c3ba4095214ea175f99faa684975 100644 (file)
@@ -1147,7 +1147,7 @@ static struct dvb_frontend_ops cx24123_ops = {
 
        .init = cx24123_initfe,
        .set_frontend_legacy = cx24123_set_frontend,
-       .get_frontend = cx24123_get_frontend,
+       .get_frontend_legacy = cx24123_get_frontend,
        .read_status = cx24123_read_status,
        .read_ber = cx24123_read_ber,
        .read_signal_strength = cx24123_read_signal_strength,
index 5b0120a75d611bc00a989f269cfe92aed00914ad..f4718d562791ffb155f8f20715ae058b42a2794c 100644 (file)
@@ -603,7 +603,7 @@ static const struct dvb_frontend_ops cxd2820r_ops = {
        .get_tune_settings      = cxd2820r_get_tune_settings,
        .i2c_gate_ctrl          = cxd2820r_i2c_gate_ctrl,
 
-       .get_frontend           = cxd2820r_get_frontend,
+       .get_frontend_legacy    = cxd2820r_get_frontend,
 
        .get_frontend_algo      = cxd2820r_get_frontend_algo,
        .search                 = cxd2820r_search,
index 987eb176df89b7b663072a09a1e52a69198a6c40..77af24098fc53dfd7ff3112bf9c351b644f4003c 100644 (file)
@@ -817,7 +817,7 @@ static struct dvb_frontend_ops dib3000mb_ops = {
        .sleep = dib3000mb_sleep,
 
        .set_frontend_legacy = dib3000mb_set_frontend_and_tuner,
-       .get_frontend = dib3000mb_get_frontend,
+       .get_frontend_legacy = dib3000mb_get_frontend,
        .get_tune_settings = dib3000mb_fe_get_tune_settings,
 
        .read_status = dib3000mb_read_status,
index 19fca6e2bcf063572fa77c4905816d9637d4db3e..7ec0e028984b41b408d33e08b9bbda539e9cba33 100644 (file)
@@ -920,7 +920,7 @@ static struct dvb_frontend_ops dib3000mc_ops = {
 
        .set_frontend_legacy         = dib3000mc_set_frontend,
        .get_tune_settings    = dib3000mc_fe_get_tune_settings,
-       .get_frontend         = dib3000mc_get_frontend,
+       .get_frontend_legacy = dib3000mc_get_frontend,
 
        .read_status          = dib3000mc_read_status,
        .read_ber             = dib3000mc_read_ber,
index cc6a71083b3111995192ba935d313dd767e32513..45c110590b7ffc80fa1bffad851aa122183bdbf3 100644 (file)
@@ -1453,7 +1453,7 @@ static struct dvb_frontend_ops dib7000m_ops = {
 
        .set_frontend_legacy         = dib7000m_set_frontend,
        .get_tune_settings    = dib7000m_fe_get_tune_settings,
-       .get_frontend         = dib7000m_get_frontend,
+       .get_frontend_legacy = dib7000m_get_frontend,
 
        .read_status          = dib7000m_read_status,
        .read_ber             = dib7000m_read_ber,
index 1e81b5beb151ee835be4033e6d9112e5c27481e1..feb82b025fda9a490af727e18b9805ac67e55508 100644 (file)
@@ -2441,7 +2441,7 @@ static struct dvb_frontend_ops dib7000p_ops = {
 
        .set_frontend_legacy = dib7000p_set_frontend,
        .get_tune_settings = dib7000p_fe_get_tune_settings,
-       .get_frontend = dib7000p_get_frontend,
+       .get_frontend_legacy = dib7000p_get_frontend,
 
        .read_status = dib7000p_read_status,
        .read_ber = dib7000p_read_ber,
index f9c98ba2f6074aa050d2a93ff91520624a3ab755..98600628b1e9bd43cdaa0364c014799053f19f44 100644 (file)
@@ -2824,7 +2824,7 @@ static int dib8000_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
                if (stat&FE_HAS_SYNC) {
                        dprintk("TMCC lock on the slave%i", index_frontend);
                        /* synchronize the cache with the other frontends */
-                       state->fe[index_frontend]->ops.get_frontend(state->fe[index_frontend], fep);
+                       state->fe[index_frontend]->ops.get_frontend_legacy(state->fe[index_frontend], fep);
                        for (sub_index_frontend = 0; (sub_index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[sub_index_frontend] != NULL); sub_index_frontend++) {
                                if (sub_index_frontend != index_frontend) {
                                        state->fe[sub_index_frontend]->dtv_property_cache.isdbt_sb_mode = state->fe[index_frontend]->dtv_property_cache.isdbt_sb_mode;
@@ -3481,7 +3481,7 @@ static const struct dvb_frontend_ops dib8000_ops = {
 
        .set_frontend_legacy = dib8000_set_frontend,
        .get_tune_settings = dib8000_fe_get_tune_settings,
-       .get_frontend = dib8000_get_frontend,
+       .get_frontend_legacy = dib8000_get_frontend,
 
        .read_status = dib8000_read_status,
        .read_ber = dib8000_read_ber,
index c7b4910a4e0efb11278e5b186e13b4908fee0d81..4d82a4ab44a0ec06716c1e79bc6d4ac1c4f47c4a 100644 (file)
@@ -1883,7 +1883,7 @@ static int dib9000_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
                        dprintk("TPS lock on the slave%i", index_frontend);
 
                        /* synchronize the cache with the other frontends */
-                       state->fe[index_frontend]->ops.get_frontend(state->fe[index_frontend], fep);
+                       state->fe[index_frontend]->ops.get_frontend_legacy(state->fe[index_frontend], fep);
                        for (sub_index_frontend = 0; (sub_index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[sub_index_frontend] != NULL);
                             sub_index_frontend++) {
                                if (sub_index_frontend != index_frontend) {
@@ -2515,7 +2515,7 @@ static struct dvb_frontend_ops dib9000_ops = {
 
        .set_frontend_legacy = dib9000_set_frontend,
        .get_tune_settings = dib9000_fe_get_tune_settings,
-       .get_frontend = dib9000_get_frontend,
+       .get_frontend_legacy = dib9000_get_frontend,
 
        .read_status = dib9000_read_status,
        .read_ber = dib9000_read_ber,
index 8118bb38eb1cc82f9e55698b3117ba4514f09398..ca05a24eb3b56e153517efe4a0bb1db5786a2e59 100644 (file)
@@ -2957,7 +2957,7 @@ static struct dvb_frontend_ops drxd_ops = {
        .i2c_gate_ctrl = drxd_i2c_gate_ctrl,
 
        .set_frontend_legacy = drxd_set_frontend,
-       .get_frontend = drxd_get_frontend,
+       .get_frontend_legacy = drxd_get_frontend,
        .get_tune_settings = drxd_get_tune_settings,
 
        .read_status = drxd_read_status,
index 1205944a156d6700e84ca9b42834d76964c51865..2299e1d34f7b894661d75990e18b4eb7325cbf92 100644 (file)
@@ -6407,7 +6407,7 @@ static struct dvb_frontend_ops drxk_c_ops = {
        .i2c_gate_ctrl = drxk_gate_ctrl,
 
        .set_frontend_legacy = drxk_set_parameters,
-       .get_frontend = drxk_c_get_frontend,
+       .get_frontend_legacy = drxk_c_get_frontend,
        .get_property = drxk_c_get_property,
        .get_tune_settings = drxk_c_get_tune_settings,
 
@@ -6440,7 +6440,7 @@ static struct dvb_frontend_ops drxk_t_ops = {
        .i2c_gate_ctrl = drxk_gate_ctrl,
 
        .set_frontend_legacy = drxk_set_parameters,
-       .get_frontend = drxk_t_get_frontend,
+       .get_frontend_legacy = drxk_t_get_frontend,
        .get_property = drxk_t_get_property,
 
        .read_status = drxk_read_status,
index 322bcd77f98bf03473a05dc070fd13f8c79c6971..31e1dd64d514e21a0dcb10f740ba3797ef19d780 100644 (file)
@@ -193,7 +193,7 @@ static struct dvb_frontend_ops dvb_dummy_fe_ofdm_ops = {
        .sleep = dvb_dummy_fe_sleep,
 
        .set_frontend_legacy = dvb_dummy_fe_set_frontend,
-       .get_frontend = dvb_dummy_fe_get_frontend,
+       .get_frontend_legacy = dvb_dummy_fe_get_frontend,
 
        .read_status = dvb_dummy_fe_read_status,
        .read_ber = dvb_dummy_fe_read_ber,
@@ -223,7 +223,7 @@ static struct dvb_frontend_ops dvb_dummy_fe_qam_ops = {
        .sleep = dvb_dummy_fe_sleep,
 
        .set_frontend_legacy = dvb_dummy_fe_set_frontend,
-       .get_frontend = dvb_dummy_fe_get_frontend,
+       .get_frontend_legacy = dvb_dummy_fe_get_frontend,
 
        .read_status = dvb_dummy_fe_read_status,
        .read_ber = dvb_dummy_fe_read_ber,
@@ -255,7 +255,7 @@ static struct dvb_frontend_ops dvb_dummy_fe_qpsk_ops = {
        .sleep = dvb_dummy_fe_sleep,
 
        .set_frontend_legacy = dvb_dummy_fe_set_frontend,
-       .get_frontend = dvb_dummy_fe_get_frontend,
+       .get_frontend_legacy = dvb_dummy_fe_get_frontend,
 
        .read_status = dvb_dummy_fe_read_status,
        .read_ber = dvb_dummy_fe_read_ber,
index 54d853484e2d3ec0206c2debdd0b22c580bfc1d9..a13f897a7d818c5e41a9770d6e9d4db9f66df8ad 100644 (file)
@@ -940,7 +940,7 @@ static struct dvb_frontend_ops it913x_fe_ofdm_ops = {
        .sleep = it913x_fe_sleep,
 
        .set_frontend_legacy = it913x_fe_set_frontend,
-       .get_frontend = it913x_fe_get_frontend,
+       .get_frontend_legacy = it913x_fe_get_frontend,
 
        .read_status = it913x_fe_read_status,
        .read_signal_strength = it913x_fe_read_signal_strength,
index fd4170a4f577c75e73e6071b7e566a363b9ee6b8..1f1c59808beafdc8b0458a2ecda40db0e7a3e3ee 100644 (file)
@@ -585,7 +585,7 @@ static struct dvb_frontend_ops l64781_ops = {
        .sleep = l64781_sleep,
 
        .set_frontend_legacy = apply_frontend_param,
-       .get_frontend = get_frontend,
+       .get_frontend_legacy = get_frontend,
        .get_tune_settings = l64781_get_tune_settings,
 
        .read_status = l64781_read_status,
index 8f1517866a2f3b3639afc98dd44b0bae597a1323..e1a9c9286b28bf172905e70687a1abe2f7186512 100644 (file)
@@ -1177,7 +1177,7 @@ static struct dvb_frontend_ops lgdt3304_ops = {
        .i2c_gate_ctrl        = lgdt3305_i2c_gate_ctrl,
        .init                 = lgdt3305_init,
        .set_frontend_legacy         = lgdt3304_set_parameters,
-       .get_frontend         = lgdt3305_get_frontend,
+       .get_frontend_legacy = lgdt3305_get_frontend,
        .get_tune_settings    = lgdt3305_get_tune_settings,
        .read_status          = lgdt3305_read_status,
        .read_ber             = lgdt3305_read_ber,
@@ -1200,7 +1200,7 @@ static struct dvb_frontend_ops lgdt3305_ops = {
        .init                 = lgdt3305_init,
        .sleep                = lgdt3305_sleep,
        .set_frontend_legacy         = lgdt3305_set_parameters,
-       .get_frontend         = lgdt3305_get_frontend,
+       .get_frontend_legacy = lgdt3305_get_frontend,
        .get_tune_settings    = lgdt3305_get_tune_settings,
        .read_status          = lgdt3305_read_status,
        .read_ber             = lgdt3305_read_ber,
index 8ae054f201854725c44dab65ff27a2913e94acdf..14df6dba15eaafc7839f5988d5118a3cf98cedf3 100644 (file)
@@ -783,7 +783,7 @@ static struct dvb_frontend_ops lgdt3302_ops = {
        },
        .init                 = lgdt330x_init,
        .set_frontend_legacy         = lgdt330x_set_parameters,
-       .get_frontend         = lgdt330x_get_frontend,
+       .get_frontend_legacy = lgdt330x_get_frontend,
        .get_tune_settings    = lgdt330x_get_tune_settings,
        .read_status          = lgdt3302_read_status,
        .read_ber             = lgdt330x_read_ber,
@@ -806,7 +806,7 @@ static struct dvb_frontend_ops lgdt3303_ops = {
        },
        .init                 = lgdt330x_init,
        .set_frontend_legacy         = lgdt330x_set_parameters,
-       .get_frontend         = lgdt330x_get_frontend,
+       .get_frontend_legacy = lgdt330x_get_frontend,
        .get_tune_settings    = lgdt330x_get_tune_settings,
        .read_status          = lgdt3303_read_status,
        .read_ber             = lgdt330x_read_ber,
index 65a5c5d2f8ba266af7366ddf795cdaa70112419a..f4e82a6154cbb57372092a796b96e8c4d4d67845 100644 (file)
@@ -435,7 +435,7 @@ static struct dvb_frontend_ops lgs8gl5_ops = {
        .init = lgs8gl5_init,
 
        .set_frontend_legacy = lgs8gl5_set_frontend,
-       .get_frontend = lgs8gl5_get_frontend,
+       .get_frontend_legacy = lgs8gl5_get_frontend,
        .get_tune_settings = lgs8gl5_get_tune_settings,
 
        .read_status = lgs8gl5_read_status,
index 5684b614fe69827d0be8a934ed962cb7803416d1..05bfa05bd37051f42f51bbddef96ae6a3410a252 100644 (file)
@@ -1014,7 +1014,7 @@ static struct dvb_frontend_ops lgs8gxx_ops = {
        .i2c_gate_ctrl = lgs8gxx_i2c_gate_ctrl,
 
        .set_frontend_legacy = lgs8gxx_set_fe,
-       .get_frontend = lgs8gxx_get_fe,
+       .get_frontend_legacy = lgs8gxx_get_fe,
        .get_tune_settings = lgs8gxx_get_tune_settings,
 
        .read_status = lgs8gxx_read_status,
index 3ae6d1f9d33a27c7158f291f6a36c860c5903757..2dfea6c948e80ffca6cc52459a871fa3ddf798c0 100644 (file)
@@ -628,7 +628,7 @@ static struct dvb_frontend_ops mb86a20s_ops = {
 
        .init = mb86a20s_initfe,
        .set_frontend_legacy = mb86a20s_set_frontend,
-       .get_frontend = mb86a20s_get_frontend,
+       .get_frontend_legacy = mb86a20s_get_frontend,
        .read_status = mb86a20s_read_status,
        .read_signal_strength = mb86a20s_read_signal_strength,
        .tune = mb86a20s_tune,
index efae45fa896ee001ddc3104aea988f6719c2749c..8f5d2d20d12b7e1b66b4f2b50a6404941bd313a8 100644 (file)
@@ -762,7 +762,7 @@ static struct dvb_frontend_ops mt312_ops = {
        .i2c_gate_ctrl = mt312_i2c_gate_ctrl,
 
        .set_frontend_legacy = mt312_set_frontend,
-       .get_frontend = mt312_get_frontend,
+       .get_frontend_legacy = mt312_get_frontend,
        .get_tune_settings = mt312_get_tune_settings,
 
        .read_status = mt312_read_status,
index 2bd68c55ce80feba78c27ed49edfa08b80cd28fa..021108dfe6bb4f175f1887d9682fc961b977bb96 100644 (file)
@@ -593,7 +593,7 @@ static struct dvb_frontend_ops mt352_ops = {
        .write = _mt352_write,
 
        .set_frontend_legacy = mt352_set_parameters,
-       .get_frontend = mt352_get_parameters,
+       .get_frontend_legacy = mt352_get_parameters,
        .get_tune_settings = mt352_get_tune_settings,
 
        .read_status = mt352_read_status,
index 461f9fdfa57b4f3a1bdde52117dc26a2130a6c14..e0c952c535a9f7f3982e7c0a98c936b48042c4cc 100644 (file)
@@ -598,7 +598,7 @@ static struct dvb_frontend_ops or51132_ops = {
        .sleep = or51132_sleep,
 
        .set_frontend_legacy = or51132_set_parameters,
-       .get_frontend = or51132_get_parameters,
+       .get_frontend_legacy = or51132_get_parameters,
        .get_tune_settings = or51132_get_tune_settings,
 
        .read_status = or51132_read_status,
index 0b6e6c5bfff3e6ab4ac21640a5191f254b7a2aee..f39216ca84fa8273aaf9e6f0c92c040ec9c60b7a 100644 (file)
@@ -1009,7 +1009,7 @@ static struct dvb_frontend_ops s5h1409_ops = {
        .init                 = s5h1409_init,
        .i2c_gate_ctrl        = s5h1409_i2c_gate_ctrl,
        .set_frontend_legacy         = s5h1409_set_frontend,
-       .get_frontend         = s5h1409_get_frontend,
+       .get_frontend_legacy = s5h1409_get_frontend,
        .get_tune_settings    = s5h1409_get_tune_settings,
        .read_status          = s5h1409_read_status,
        .read_ber             = s5h1409_read_ber,
index 67ab85ccd625d65aabee0cdaf91bdc23c33792e4..cb221aa95ce5dd50c2f2aa2abb61461fd102cd9f 100644 (file)
@@ -929,7 +929,7 @@ static struct dvb_frontend_ops s5h1411_ops = {
        .sleep                = s5h1411_sleep,
        .i2c_gate_ctrl        = s5h1411_i2c_gate_ctrl,
        .set_frontend_legacy         = s5h1411_set_frontend,
-       .get_frontend         = s5h1411_get_frontend,
+       .get_frontend_legacy = s5h1411_get_frontend,
        .get_tune_settings    = s5h1411_get_tune_settings,
        .read_status          = s5h1411_read_status,
        .read_ber             = s5h1411_read_ber,
index e2cecf495c7e5d808c391ddae3e1c73856129181..44ec27d27dd26d8306bc9211a8ccf37538396563 100644 (file)
@@ -961,7 +961,7 @@ static struct dvb_frontend_ops s5h1420_ops = {
        .i2c_gate_ctrl = s5h1420_i2c_gate_ctrl,
 
        .set_frontend_legacy = s5h1420_set_frontend,
-       .get_frontend = s5h1420_get_frontend,
+       .get_frontend_legacy = s5h1420_get_frontend,
        .get_tune_settings = s5h1420_get_tune_settings,
 
        .read_status = s5h1420_read_status,
index a0dbbdc1d62b1d8917f45be2916c72cfa1a43706..f22c71e6a7f71fca570a43fe433af62631299702 100644 (file)
@@ -397,7 +397,7 @@ static struct dvb_frontend_ops s5h1432_ops = {
        .init = s5h1432_init,
        .sleep = s5h1432_sleep,
        .set_frontend_legacy = s5h1432_set_frontend,
-       .get_frontend = s5h1432_get_frontend,
+       .get_frontend_legacy = s5h1432_get_frontend,
        .get_tune_settings = s5h1432_get_tune_settings,
        .read_status = s5h1432_read_status,
        .read_ber = s5h1432_read_ber,
index 6615979cda4ed9eca68c6ffcaa1915730de448f5..5e8f2a8749db6a4a158ddc5535eca49730f4bfcf 100644 (file)
@@ -535,7 +535,7 @@ static struct dvb_frontend_ops s921_ops = {
 
        .init = s921_initfe,
        .set_frontend_legacy = s921_set_frontend,
-       .get_frontend = s921_get_frontend,
+       .get_frontend_legacy = s921_get_frontend,
        .read_status = s921_read_status,
        .read_signal_strength = s921_read_signal_strength,
        .tune = s921_tune,
index 9c93d9f1ae6aa6ce55dc55f56ec8cc511011f226..9fa31d53c25b977d9283b5c4ca8b6e5e729ec28f 100644 (file)
@@ -1648,7 +1648,7 @@ static struct dvb_frontend_ops stb0899_ops = {
        .get_frontend_algo              = stb0899_frontend_algo,
        .search                         = stb0899_search,
        .track                          = stb0899_track,
-       .get_frontend                   = stb0899_get_frontend,
+       .get_frontend_legacy = stb0899_get_frontend,
 
 
        .read_status                    = stb0899_read_status,
index bc1a8af4f6e105181670ee33ebe111f98425e0ff..7f68fd3c33edea0dac120483c93eeb37c5d28ded 100644 (file)
@@ -335,9 +335,9 @@ static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency)
 
        dprintk(verbose, FE_DEBUG, 1, "Version 2010-8-14 13:51");
 
-       if (fe->ops.get_frontend) {
+       if (fe->ops.get_frontend_legacy) {
                dprintk(verbose, FE_DEBUG, 1, "Get frontend parameters");
-               fe->ops.get_frontend(fe, &p);
+               fe->ops.get_frontend_legacy(fe, &p);
        }
        srate = p.u.qpsk.symbol_rate;
 
index 63a3e1bc607cb9eae0623ea0276c2b1b9d0115c0..5d7c288c3022a13f4f1c1ed6b65b449b424937e5 100644 (file)
@@ -707,7 +707,7 @@ static struct dvb_frontend_ops stv0297_ops = {
        .i2c_gate_ctrl = stv0297_i2c_gate_ctrl,
 
        .set_frontend_legacy = stv0297_set_frontend,
-       .get_frontend = stv0297_get_frontend,
+       .get_frontend_legacy = stv0297_get_frontend,
 
        .read_status = stv0297_read_status,
        .read_ber = stv0297_read_ber,
index 4f248e1736f4f344310e10b51f89f257a6cc43f0..6aeabaf07f2a8dcc6d656dcf2a39007ebbca44cd 100644 (file)
@@ -730,7 +730,7 @@ static struct dvb_frontend_ops stv0299_ops = {
        .i2c_gate_ctrl = stv0299_i2c_gate_ctrl,
 
        .set_frontend_legacy = stv0299_set_frontend,
-       .get_frontend = stv0299_get_frontend,
+       .get_frontend_legacy = stv0299_get_frontend,
        .get_tune_settings = stv0299_get_tune_settings,
 
        .read_status = stv0299_read_status,
index 7752d131aa0f587f6667dd039bd22ed606da83f8..e0a243857c1305f32be48dba04b611c884efc042 100644 (file)
@@ -2286,7 +2286,7 @@ static struct dvb_frontend_ops stv0367ter_ops = {
        .sleep = stv0367ter_sleep,
        .i2c_gate_ctrl = stv0367ter_gate_ctrl,
        .set_frontend_legacy = stv0367ter_set_frontend,
-       .get_frontend = stv0367ter_get_frontend,
+       .get_frontend_legacy = stv0367ter_get_frontend,
        .get_tune_settings = stv0367_get_tune_settings,
        .read_status = stv0367ter_read_status,
        .read_ber = stv0367ter_read_ber,/* too slow */
@@ -3404,7 +3404,7 @@ static struct dvb_frontend_ops stv0367cab_ops = {
        .sleep                                  = stv0367cab_sleep,
        .i2c_gate_ctrl                          = stv0367cab_gate_ctrl,
        .set_frontend_legacy                            = stv0367cab_set_frontend,
-       .get_frontend                           = stv0367cab_get_frontend,
+       .get_frontend_legacy = stv0367cab_get_frontend,
        .read_status                            = stv0367cab_read_status,
 /*     .read_ber                               = stv0367cab_read_ber, */
        .read_signal_strength                   = stv0367cab_read_strength,
index 2b8d78c7cdb121aa1fd61cac3739a6472df7b30b..df4665417c9ac0112a8687b5ccbe7ea09af1a43f 100644 (file)
@@ -1908,7 +1908,7 @@ static struct dvb_frontend_ops stv0900_ops = {
        },
        .release                        = stv0900_release,
        .init                           = stv0900_init,
-       .get_frontend                   = stv0900_get_frontend,
+       .get_frontend_legacy = stv0900_get_frontend,
        .sleep                          = stv0900_sleep,
        .get_frontend_algo              = stv0900_frontend_algo,
        .i2c_gate_ctrl                  = stv0900_i2c_gate_ctrl,
index 0bbf681bf45e433102916c5d47a5addc3b7bf14d..3976d2235dbd611ccd44f2ef5d5e5e6759ea1c61 100644 (file)
@@ -525,7 +525,7 @@ static struct dvb_frontend_ops tda10021_ops = {
        .i2c_gate_ctrl = tda10021_i2c_gate_ctrl,
 
        .set_frontend_legacy = tda10021_set_parameters,
-       .get_frontend = tda10021_get_frontend,
+       .get_frontend_legacy = tda10021_get_frontend,
        .get_property = tda10021_get_property,
 
        .read_status = tda10021_read_status,
index f79841be565f6b76cc0c5987318005e4ead78f8a..de535a4d4ac117cae8ab937023053b9325cd869c 100644 (file)
@@ -610,7 +610,7 @@ static struct dvb_frontend_ops tda10023_ops = {
        .i2c_gate_ctrl = tda10023_i2c_gate_ctrl,
 
        .set_frontend_legacy = tda10023_set_parameters,
-       .get_frontend = tda10023_get_frontend,
+       .get_frontend_legacy = tda10023_get_frontend,
        .get_property = tda10023_get_property,
        .read_status = tda10023_read_status,
        .read_ber = tda10023_read_ber,
index 479ff85e203b7d1dbda0f67fe4b0c123fe94c1e3..bba249bd4e2e70fa16ff55b1c16d9159a65dbb30 100644 (file)
@@ -1189,7 +1189,7 @@ static struct dvb_frontend_ops tda10048_ops = {
        .init = tda10048_init,
        .i2c_gate_ctrl = tda10048_i2c_gate_ctrl,
        .set_frontend_legacy = tda10048_set_frontend,
-       .get_frontend = tda10048_get_frontend,
+       .get_frontend_legacy = tda10048_get_frontend,
        .get_tune_settings = tda10048_get_tune_settings,
        .read_status = tda10048_read_status,
        .read_ber = tda10048_read_ber,
index dd410577d91d557f4e0bbbc23b1b50892f022080..2dbb0703529e743310a7f23003394257be996407 100644 (file)
@@ -1252,7 +1252,7 @@ static struct dvb_frontend_ops tda10045_ops = {
        .i2c_gate_ctrl = tda1004x_i2c_gate_ctrl,
 
        .set_frontend_legacy = tda1004x_set_fe,
-       .get_frontend = tda1004x_get_fe,
+       .get_frontend_legacy = tda1004x_get_fe,
        .get_tune_settings = tda1004x_get_tune_settings,
 
        .read_status = tda1004x_read_status,
@@ -1322,7 +1322,7 @@ static struct dvb_frontend_ops tda10046_ops = {
        .i2c_gate_ctrl = tda1004x_i2c_gate_ctrl,
 
        .set_frontend_legacy = tda1004x_set_fe,
-       .get_frontend = tda1004x_get_fe,
+       .get_frontend_legacy = tda1004x_get_fe,
        .get_tune_settings = tda1004x_get_tune_settings,
 
        .read_status = tda1004x_read_status,
index 7bffa65cb3b3cbd412f99f3cc45a5eec44d02dd4..e9e00ea45db7f0c0a4ccf6889af106ba323acac1 100644 (file)
@@ -1248,7 +1248,7 @@ static struct dvb_frontend_ops tda10071_ops = {
        .sleep = tda10071_sleep,
 
        .set_frontend_legacy = tda10071_set_frontend,
-       .get_frontend = tda10071_get_frontend,
+       .get_frontend_legacy = tda10071_get_frontend,
 
        .read_status = tda10071_read_status,
        .read_snr = tda10071_read_snr,
index be4649fdd677debeb3f4c80df81c93d8bde8abba..8501100572481b6a7e79904fbc89137619c20221 100644 (file)
@@ -723,7 +723,7 @@ static struct dvb_frontend_ops tda10086_ops = {
        .i2c_gate_ctrl = tda10086_i2c_gate_ctrl,
 
        .set_frontend_legacy = tda10086_set_frontend,
-       .get_frontend = tda10086_get_frontend,
+       .get_frontend_legacy = tda10086_get_frontend,
        .get_tune_settings = tda10086_get_tune_settings,
 
        .read_status = tda10086_read_status,
index 9d1466f2dd1da459fca79df34a151428fb59a3e5..7ff2946f39b20cd488ca6b3536a3769ec520bbdb 100644 (file)
@@ -462,7 +462,7 @@ static struct dvb_frontend_ops tda8083_ops = {
        .sleep = tda8083_sleep,
 
        .set_frontend_legacy = tda8083_set_frontend,
-       .get_frontend = tda8083_get_frontend,
+       .get_frontend_legacy = tda8083_get_frontend,
 
        .read_status = tda8083_read_status,
        .read_signal_strength = tda8083_read_signal_strength,
index 6fb8eb516f4f9c34c9795ce4c5cedf2b25a9e671..796123124cbe9220058bb604dc26e52370b1bd1b 100644 (file)
@@ -426,7 +426,7 @@ static struct dvb_frontend_ops ves1820_ops = {
        .sleep = ves1820_sleep,
 
        .set_frontend_legacy = ves1820_set_parameters,
-       .get_frontend = ves1820_get_frontend,
+       .get_frontend_legacy = ves1820_get_frontend,
        .get_tune_settings = ves1820_get_tune_settings,
 
        .read_status = ves1820_read_status,
index f80f152acf99086f2c9ee56bb1ad56e13ba03288..a95619e61fb28ea522a5b5894e5c52fbc9b8cdab 100644 (file)
@@ -530,7 +530,7 @@ static struct dvb_frontend_ops ves1x93_ops = {
        .i2c_gate_ctrl = ves1x93_i2c_gate_ctrl,
 
        .set_frontend_legacy = ves1x93_set_frontend,
-       .get_frontend = ves1x93_get_frontend,
+       .get_frontend_legacy = ves1x93_get_frontend,
 
        .read_status = ves1x93_read_status,
        .read_ber = ves1x93_read_ber,
index 8b6c2a4bd0d56669bbb71e62a617f84bcd558855..35334da39016f0b607e0833a4bfd126e8c1249dd 100644 (file)
@@ -676,7 +676,7 @@ static struct dvb_frontend_ops zl10353_ops = {
        .write = zl10353_write,
 
        .set_frontend_legacy = zl10353_set_parameters,
-       .get_frontend = zl10353_get_parameters,
+       .get_frontend_legacy = zl10353_get_parameters,
        .get_tune_settings = zl10353_get_tune_settings,
 
        .read_status = zl10353_read_status,
index fa17f027ebf34110ce00691bf1d2d33b60ee5cf1..df08d6a23a23d8cd27f1de83180a982b33ea0a10 100644 (file)
@@ -806,7 +806,7 @@ static struct dvb_frontend_ops smsdvb_fe_ops = {
        .release = smsdvb_release,
 
        .set_frontend_legacy = smsdvb_set_frontend,
-       .get_frontend = smsdvb_get_frontend,
+       .get_frontend_legacy = smsdvb_get_frontend,
        .get_tune_settings = smsdvb_get_tune_settings,
 
        .read_status = smsdvb_read_status,
index 51a7d55dffb4d42be66114ae7aaf7191899af38c..f864c17392961af04f69bb194982a5116e8a3465 100644 (file)
@@ -354,7 +354,7 @@ static struct dvb_frontend_ops poseidon_frontend_ops = {
        .sleep = poseidon_fe_sleep,
 
        .set_frontend_legacy = poseidon_set_fe,
-       .get_frontend = poseidon_get_fe,
+       .get_frontend_legacy = poseidon_get_fe,
        .get_tune_settings = poseidon_fe_get_tune_settings,
 
        .read_status    = poseidon_read_status,
index 161bcbe886b2c46d2f204025e41c4d970360d49a..b0c5128db88e58798b9da8be507f5582c502b582 100644 (file)
@@ -297,7 +297,7 @@ static struct dvb_frontend_ops as102_fe_ops = {
        },
 
        .set_frontend_legacy    = as102_fe_set_frontend,
-       .get_frontend           = as102_fe_get_frontend,
+       .get_frontend_legacy    = as102_fe_get_frontend,
        .get_tune_settings      = as102_fe_get_tune_settings,
 
        .read_status            = as102_fe_read_status,