diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 3c328a2f28fb..03ef89051cd1 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -1072,10 +1072,8 @@ static int dvb_register(struct cx8802_dev *dev) | |||
1072 | fe0->dvb.frontend = dvb_attach(cx24116_attach, | 1072 | fe0->dvb.frontend = dvb_attach(cx24116_attach, |
1073 | &tevii_s460_config, | 1073 | &tevii_s460_config, |
1074 | &core->i2c_adap); | 1074 | &core->i2c_adap); |
1075 | if (fe0->dvb.frontend != NULL) { | 1075 | if (fe0->dvb.frontend != NULL) |
1076 | core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; | ||
1077 | fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; | 1076 | fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; |
1078 | } | ||
1079 | break; | 1077 | break; |
1080 | case CX88_BOARD_OMICOM_SS4_PCI: | 1078 | case CX88_BOARD_OMICOM_SS4_PCI: |
1081 | case CX88_BOARD_TBS_8920: | 1079 | case CX88_BOARD_TBS_8920: |
@@ -1084,10 +1082,8 @@ static int dvb_register(struct cx8802_dev *dev) | |||
1084 | fe0->dvb.frontend = dvb_attach(cx24116_attach, | 1082 | fe0->dvb.frontend = dvb_attach(cx24116_attach, |
1085 | &hauppauge_hvr4000_config, | 1083 | &hauppauge_hvr4000_config, |
1086 | &core->i2c_adap); | 1084 | &core->i2c_adap); |
1087 | if (fe0->dvb.frontend != NULL) { | 1085 | if (fe0->dvb.frontend != NULL) |
1088 | core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage; | ||
1089 | fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; | 1086 | fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage; |
1090 | } | ||
1091 | break; | 1087 | break; |
1092 | default: | 1088 | default: |
1093 | printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", | 1089 | printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n", |