diff options
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c')
| -rw-r--r-- | drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c b/drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c index ecefa5c477fa..ea3753653368 100644 --- a/drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c +++ b/drivers/media/usb/dvb-usb-v2/mxl111sf-demod.c | |||
| @@ -72,7 +72,7 @@ int mxl111sf_demod_program_regs(struct mxl111sf_demod_state *state, | |||
| 72 | 72 | ||
| 73 | static | 73 | static |
| 74 | int mxl1x1sf_demod_get_tps_code_rate(struct mxl111sf_demod_state *state, | 74 | int mxl1x1sf_demod_get_tps_code_rate(struct mxl111sf_demod_state *state, |
| 75 | fe_code_rate_t *code_rate) | 75 | enum fe_code_rate *code_rate) |
| 76 | { | 76 | { |
| 77 | u8 val; | 77 | u8 val; |
| 78 | int ret = mxl111sf_demod_read_reg(state, V6_CODE_RATE_TPS_REG, &val); | 78 | int ret = mxl111sf_demod_read_reg(state, V6_CODE_RATE_TPS_REG, &val); |
| @@ -103,7 +103,7 @@ fail: | |||
| 103 | 103 | ||
| 104 | static | 104 | static |
| 105 | int mxl1x1sf_demod_get_tps_modulation(struct mxl111sf_demod_state *state, | 105 | int mxl1x1sf_demod_get_tps_modulation(struct mxl111sf_demod_state *state, |
| 106 | fe_modulation_t *modulation) | 106 | enum fe_modulation *modulation) |
| 107 | { | 107 | { |
| 108 | u8 val; | 108 | u8 val; |
| 109 | int ret = mxl111sf_demod_read_reg(state, V6_MODORDER_TPS_REG, &val); | 109 | int ret = mxl111sf_demod_read_reg(state, V6_MODORDER_TPS_REG, &val); |
| @@ -128,7 +128,7 @@ fail: | |||
| 128 | 128 | ||
| 129 | static | 129 | static |
| 130 | int mxl1x1sf_demod_get_tps_guard_fft_mode(struct mxl111sf_demod_state *state, | 130 | int mxl1x1sf_demod_get_tps_guard_fft_mode(struct mxl111sf_demod_state *state, |
| 131 | fe_transmit_mode_t *fft_mode) | 131 | enum fe_transmit_mode *fft_mode) |
| 132 | { | 132 | { |
| 133 | u8 val; | 133 | u8 val; |
| 134 | int ret = mxl111sf_demod_read_reg(state, V6_MODE_TPS_REG, &val); | 134 | int ret = mxl111sf_demod_read_reg(state, V6_MODE_TPS_REG, &val); |
| @@ -153,7 +153,7 @@ fail: | |||
| 153 | 153 | ||
| 154 | static | 154 | static |
| 155 | int mxl1x1sf_demod_get_tps_guard_interval(struct mxl111sf_demod_state *state, | 155 | int mxl1x1sf_demod_get_tps_guard_interval(struct mxl111sf_demod_state *state, |
| 156 | fe_guard_interval_t *guard) | 156 | enum fe_guard_interval *guard) |
| 157 | { | 157 | { |
| 158 | u8 val; | 158 | u8 val; |
| 159 | int ret = mxl111sf_demod_read_reg(state, V6_CP_TPS_REG, &val); | 159 | int ret = mxl111sf_demod_read_reg(state, V6_CP_TPS_REG, &val); |
| @@ -181,7 +181,7 @@ fail: | |||
| 181 | 181 | ||
| 182 | static | 182 | static |
| 183 | int mxl1x1sf_demod_get_tps_hierarchy(struct mxl111sf_demod_state *state, | 183 | int mxl1x1sf_demod_get_tps_hierarchy(struct mxl111sf_demod_state *state, |
| 184 | fe_hierarchy_t *hierarchy) | 184 | enum fe_hierarchy *hierarchy) |
| 185 | { | 185 | { |
| 186 | u8 val; | 186 | u8 val; |
| 187 | int ret = mxl111sf_demod_read_reg(state, V6_TPS_HIERACHY_REG, &val); | 187 | int ret = mxl111sf_demod_read_reg(state, V6_TPS_HIERACHY_REG, &val); |
| @@ -441,7 +441,7 @@ fail: | |||
| 441 | } | 441 | } |
| 442 | 442 | ||
| 443 | static int mxl111sf_demod_read_status(struct dvb_frontend *fe, | 443 | static int mxl111sf_demod_read_status(struct dvb_frontend *fe, |
| 444 | fe_status_t *status) | 444 | enum fe_status *status) |
| 445 | { | 445 | { |
| 446 | struct mxl111sf_demod_state *state = fe->demodulator_priv; | 446 | struct mxl111sf_demod_state *state = fe->demodulator_priv; |
| 447 | int ret, locked, cr_lock, sync_lock, fec_lock; | 447 | int ret, locked, cr_lock, sync_lock, fec_lock; |
| @@ -480,7 +480,7 @@ static int mxl111sf_demod_read_signal_strength(struct dvb_frontend *fe, | |||
| 480 | u16 *signal_strength) | 480 | u16 *signal_strength) |
| 481 | { | 481 | { |
| 482 | struct mxl111sf_demod_state *state = fe->demodulator_priv; | 482 | struct mxl111sf_demod_state *state = fe->demodulator_priv; |
| 483 | fe_modulation_t modulation; | 483 | enum fe_modulation modulation; |
| 484 | u16 snr; | 484 | u16 snr; |
| 485 | 485 | ||
| 486 | mxl111sf_demod_calc_snr(state, &snr); | 486 | mxl111sf_demod_calc_snr(state, &snr); |
