diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-20 19:31:54 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-31 12:09:43 +0100 |
commit | bc9cd2736b34619b58961d506210fe0e6dfaa27d (patch) | |
tree | 07e1b310b27e35f4927b5e5df2914ef8fa65e4d5 /drivers/media/dvb/dvb-usb/cinergyT2-fe.c | |
parent | [media] dvb-core: allow demods to specify the supported delsys (diff) | |
download | linux-bc9cd2736b34619b58961d506210fe0e6dfaa27d.tar.xz linux-bc9cd2736b34619b58961d506210fe0e6dfaa27d.zip |
[media] Rename set_frontend fops to set_frontend_legacy
Passing DVBv3 parameters to set_frontend is not fun, as the
core doesn't have any way to know if the driver is using the
v3 or v5 parameters. So, rename the callback and add a new
one to allow distinguish between a mixed v3/v5 paramenter call
from a pure v5 call.
After having all frontends to use the new way, the legacy
call can be removed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cinergyT2-fe.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cinergyT2-fe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c index 9cd51ac12076..cad22841c4b1 100644 --- a/drivers/media/dvb/dvb-usb/cinergyT2-fe.c +++ b/drivers/media/dvb/dvb-usb/cinergyT2-fe.c @@ -340,7 +340,7 @@ static struct dvb_frontend_ops cinergyt2_fe_ops = { .init = cinergyt2_fe_init, .sleep = cinergyt2_fe_sleep, - .set_frontend = cinergyt2_fe_set_frontend, + .set_frontend_legacy = cinergyt2_fe_set_frontend, .get_frontend = cinergyt2_fe_get_frontend, .get_tune_settings = cinergyt2_fe_get_tune_settings, |