Commit 68592773 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by Mauro Carvalho Chehab

[media] bt8xx: make driver routines fit into its own namespcae

There is a few conflicts with older symbols on older kernels so we
have to patch this driver when backporting. Instead just make these
routines specific to the driver.
Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent fff287bb
...@@ -1544,7 +1544,7 @@ static int dst_send_burst(struct dvb_frontend *fe, fe_sec_mini_cmd_t minicmd) ...@@ -1544,7 +1544,7 @@ static int dst_send_burst(struct dvb_frontend *fe, fe_sec_mini_cmd_t minicmd)
} }
static int dst_init(struct dvb_frontend *fe) static int bt8xx_dst_init(struct dvb_frontend *fe)
{ {
struct dst_state *state = fe->demodulator_priv; struct dst_state *state = fe->demodulator_priv;
...@@ -1707,7 +1707,7 @@ static int dst_get_frontend(struct dvb_frontend *fe) ...@@ -1707,7 +1707,7 @@ static int dst_get_frontend(struct dvb_frontend *fe)
return 0; return 0;
} }
static void dst_release(struct dvb_frontend *fe) static void bt8xx_dst_release(struct dvb_frontend *fe)
{ {
struct dst_state *state = fe->demodulator_priv; struct dst_state *state = fe->demodulator_priv;
if (state->dst_ca) { if (state->dst_ca) {
...@@ -1776,8 +1776,8 @@ static struct dvb_frontend_ops dst_dvbt_ops = { ...@@ -1776,8 +1776,8 @@ static struct dvb_frontend_ops dst_dvbt_ops = {
FE_CAN_GUARD_INTERVAL_AUTO FE_CAN_GUARD_INTERVAL_AUTO
}, },
.release = dst_release, .release = bt8xx_dst_release,
.init = dst_init, .init = bt8xx_dst_init,
.tune = dst_tune_frontend, .tune = dst_tune_frontend,
.set_frontend = dst_set_frontend, .set_frontend = dst_set_frontend,
.get_frontend = dst_get_frontend, .get_frontend = dst_get_frontend,
...@@ -1801,8 +1801,8 @@ static struct dvb_frontend_ops dst_dvbs_ops = { ...@@ -1801,8 +1801,8 @@ static struct dvb_frontend_ops dst_dvbs_ops = {
.caps = FE_CAN_FEC_AUTO | FE_CAN_QPSK .caps = FE_CAN_FEC_AUTO | FE_CAN_QPSK
}, },
.release = dst_release, .release = bt8xx_dst_release,
.init = dst_init, .init = bt8xx_dst_init,
.tune = dst_tune_frontend, .tune = dst_tune_frontend,
.set_frontend = dst_set_frontend, .set_frontend = dst_set_frontend,
.get_frontend = dst_get_frontend, .get_frontend = dst_get_frontend,
...@@ -1834,8 +1834,8 @@ static struct dvb_frontend_ops dst_dvbc_ops = { ...@@ -1834,8 +1834,8 @@ static struct dvb_frontend_ops dst_dvbc_ops = {
FE_CAN_QAM_256 FE_CAN_QAM_256
}, },
.release = dst_release, .release = bt8xx_dst_release,
.init = dst_init, .init = bt8xx_dst_init,
.tune = dst_tune_frontend, .tune = dst_tune_frontend,
.set_frontend = dst_set_frontend, .set_frontend = dst_set_frontend,
.get_frontend = dst_get_frontend, .get_frontend = dst_get_frontend,
...@@ -1857,8 +1857,8 @@ static struct dvb_frontend_ops dst_atsc_ops = { ...@@ -1857,8 +1857,8 @@ static struct dvb_frontend_ops dst_atsc_ops = {
.caps = FE_CAN_FEC_AUTO | FE_CAN_QAM_AUTO | FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB .caps = FE_CAN_FEC_AUTO | FE_CAN_QAM_AUTO | FE_CAN_QAM_64 | FE_CAN_QAM_256 | FE_CAN_8VSB
}, },
.release = dst_release, .release = bt8xx_dst_release,
.init = dst_init, .init = bt8xx_dst_init,
.tune = dst_tune_frontend, .tune = dst_tune_frontend,
.set_frontend = dst_set_frontend, .set_frontend = dst_set_frontend,
.get_frontend = dst_get_frontend, .get_frontend = dst_get_frontend,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment