aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stb0899_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/stb0899_drv.c')
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index c9e178526ed1..38565beafe23 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -1586,26 +1586,10 @@ static enum dvbfe_algo stb0899_frontend_algo(struct dvb_frontend *fe)
1586 return DVBFE_ALGO_CUSTOM; 1586 return DVBFE_ALGO_CUSTOM;
1587} 1587}
1588 1588
1589static int stb0899_get_property(struct dvb_frontend *fe, struct dtv_property *p)
1590{
1591 switch (p->cmd) {
1592 case DTV_ENUM_DELSYS:
1593 p->u.buffer.data[0] = SYS_DSS;
1594 p->u.buffer.data[1] = SYS_DVBS;
1595 p->u.buffer.data[2] = SYS_DVBS2;
1596 p->u.buffer.len = 3;
1597 break;
1598 default:
1599 break;
1600 }
1601 return 0;
1602}
1603
1604static struct dvb_frontend_ops stb0899_ops = { 1589static struct dvb_frontend_ops stb0899_ops = {
1605 1590 .delsys = { SYS_DVBS, SYS_DVBS2, SYS_DSS },
1606 .info = { 1591 .info = {
1607 .name = "STB0899 Multistandard", 1592 .name = "STB0899 Multistandard",
1608 .type = FE_QPSK,
1609 .frequency_min = 950000, 1593 .frequency_min = 950000,
1610 .frequency_max = 2150000, 1594 .frequency_max = 2150000,
1611 .frequency_stepsize = 0, 1595 .frequency_stepsize = 0,
@@ -1642,8 +1626,6 @@ static struct dvb_frontend_ops stb0899_ops = {
1642 .diseqc_send_master_cmd = stb0899_send_diseqc_msg, 1626 .diseqc_send_master_cmd = stb0899_send_diseqc_msg,
1643 .diseqc_recv_slave_reply = stb0899_recv_slave_reply, 1627 .diseqc_recv_slave_reply = stb0899_recv_slave_reply,
1644 .diseqc_send_burst = stb0899_send_diseqc_burst, 1628 .diseqc_send_burst = stb0899_send_diseqc_burst,
1645
1646 .get_property = stb0899_get_property,
1647}; 1629};
1648 1630
1649struct dvb_frontend *stb0899_attach(struct stb0899_config *config, struct i2c_adapter *i2c) 1631struct dvb_frontend *stb0899_attach(struct stb0899_config *config, struct i2c_adapter *i2c)