diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-20 13:31:54 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-31 06:09:43 -0500 |
commit | bc9cd2736b34619b58961d506210fe0e6dfaa27d (patch) | |
tree | 07e1b310b27e35f4927b5e5df2914ef8fa65e4d5 /drivers/media/dvb/frontends/cx22702.c | |
parent | eeacf1477b4460e2dbc37c9164bb46a65ab8f084 (diff) |
[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/frontends/cx22702.c')
-rw-r--r-- | drivers/media/dvb/frontends/cx22702.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/cx22702.c b/drivers/media/dvb/frontends/cx22702.c index 73dd87ae5b3e..2cea13ed5faa 100644 --- a/drivers/media/dvb/frontends/cx22702.c +++ b/drivers/media/dvb/frontends/cx22702.c | |||
@@ -622,7 +622,7 @@ static const struct dvb_frontend_ops cx22702_ops = { | |||
622 | .init = cx22702_init, | 622 | .init = cx22702_init, |
623 | .i2c_gate_ctrl = cx22702_i2c_gate_ctrl, | 623 | .i2c_gate_ctrl = cx22702_i2c_gate_ctrl, |
624 | 624 | ||
625 | .set_frontend = cx22702_set_tps, | 625 | .set_frontend_legacy = cx22702_set_tps, |
626 | .get_frontend = cx22702_get_frontend, | 626 | .get_frontend = cx22702_get_frontend, |
627 | .get_tune_settings = cx22702_get_tune_settings, | 627 | .get_tune_settings = cx22702_get_tune_settings, |
628 | 628 | ||