diff options
Diffstat (limited to 'drivers/media/dvb-frontends/cx24123.c')
| -rw-r--r-- | drivers/media/dvb-frontends/cx24123.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/dvb-frontends/cx24123.c b/drivers/media/dvb-frontends/cx24123.c index 7975c6608e20..e18cf9e1185e 100644 --- a/drivers/media/dvb-frontends/cx24123.c +++ b/drivers/media/dvb-frontends/cx24123.c | |||
| @@ -290,7 +290,7 @@ static int cx24123_i2c_readreg(struct cx24123_state *state, u8 i2c_addr, u8 reg) | |||
| 290 | cx24123_i2c_writereg(state, state->config->demod_address, reg, val) | 290 | cx24123_i2c_writereg(state, state->config->demod_address, reg, val) |
| 291 | 291 | ||
| 292 | static int cx24123_set_inversion(struct cx24123_state *state, | 292 | static int cx24123_set_inversion(struct cx24123_state *state, |
| 293 | fe_spectral_inversion_t inversion) | 293 | enum fe_spectral_inversion inversion) |
| 294 | { | 294 | { |
| 295 | u8 nom_reg = cx24123_readreg(state, 0x0e); | 295 | u8 nom_reg = cx24123_readreg(state, 0x0e); |
| 296 | u8 auto_reg = cx24123_readreg(state, 0x10); | 296 | u8 auto_reg = cx24123_readreg(state, 0x10); |
| @@ -318,7 +318,7 @@ static int cx24123_set_inversion(struct cx24123_state *state, | |||
| 318 | } | 318 | } |
| 319 | 319 | ||
| 320 | static int cx24123_get_inversion(struct cx24123_state *state, | 320 | static int cx24123_get_inversion(struct cx24123_state *state, |
| 321 | fe_spectral_inversion_t *inversion) | 321 | enum fe_spectral_inversion *inversion) |
| 322 | { | 322 | { |
| 323 | u8 val; | 323 | u8 val; |
| 324 | 324 | ||
| @@ -335,7 +335,7 @@ static int cx24123_get_inversion(struct cx24123_state *state, | |||
| 335 | return 0; | 335 | return 0; |
| 336 | } | 336 | } |
| 337 | 337 | ||
| 338 | static int cx24123_set_fec(struct cx24123_state *state, fe_code_rate_t fec) | 338 | static int cx24123_set_fec(struct cx24123_state *state, enum fe_code_rate fec) |
| 339 | { | 339 | { |
| 340 | u8 nom_reg = cx24123_readreg(state, 0x0e) & ~0x07; | 340 | u8 nom_reg = cx24123_readreg(state, 0x0e) & ~0x07; |
| 341 | 341 | ||
| @@ -397,7 +397,7 @@ static int cx24123_set_fec(struct cx24123_state *state, fe_code_rate_t fec) | |||
| 397 | return 0; | 397 | return 0; |
| 398 | } | 398 | } |
| 399 | 399 | ||
| 400 | static int cx24123_get_fec(struct cx24123_state *state, fe_code_rate_t *fec) | 400 | static int cx24123_get_fec(struct cx24123_state *state, enum fe_code_rate *fec) |
| 401 | { | 401 | { |
| 402 | int ret; | 402 | int ret; |
| 403 | 403 | ||
| @@ -720,7 +720,7 @@ static int cx24123_initfe(struct dvb_frontend *fe) | |||
| 720 | } | 720 | } |
| 721 | 721 | ||
| 722 | static int cx24123_set_voltage(struct dvb_frontend *fe, | 722 | static int cx24123_set_voltage(struct dvb_frontend *fe, |
| 723 | fe_sec_voltage_t voltage) | 723 | enum fe_sec_voltage voltage) |
| 724 | { | 724 | { |
| 725 | struct cx24123_state *state = fe->demodulator_priv; | 725 | struct cx24123_state *state = fe->demodulator_priv; |
| 726 | u8 val; | 726 | u8 val; |
| @@ -795,7 +795,7 @@ static int cx24123_send_diseqc_msg(struct dvb_frontend *fe, | |||
| 795 | } | 795 | } |
| 796 | 796 | ||
| 797 | static int cx24123_diseqc_send_burst(struct dvb_frontend *fe, | 797 | static int cx24123_diseqc_send_burst(struct dvb_frontend *fe, |
| 798 | fe_sec_mini_cmd_t burst) | 798 | enum fe_sec_mini_cmd burst) |
| 799 | { | 799 | { |
| 800 | struct cx24123_state *state = fe->demodulator_priv; | 800 | struct cx24123_state *state = fe->demodulator_priv; |
| 801 | int val, tone; | 801 | int val, tone; |
| @@ -831,7 +831,7 @@ static int cx24123_diseqc_send_burst(struct dvb_frontend *fe, | |||
| 831 | return 0; | 831 | return 0; |
| 832 | } | 832 | } |
| 833 | 833 | ||
| 834 | static int cx24123_read_status(struct dvb_frontend *fe, fe_status_t *status) | 834 | static int cx24123_read_status(struct dvb_frontend *fe, enum fe_status *status) |
| 835 | { | 835 | { |
| 836 | struct cx24123_state *state = fe->demodulator_priv; | 836 | struct cx24123_state *state = fe->demodulator_priv; |
| 837 | int sync = cx24123_readreg(state, 0x14); | 837 | int sync = cx24123_readreg(state, 0x14); |
| @@ -966,7 +966,7 @@ static int cx24123_get_frontend(struct dvb_frontend *fe) | |||
| 966 | return 0; | 966 | return 0; |
| 967 | } | 967 | } |
| 968 | 968 | ||
| 969 | static int cx24123_set_tone(struct dvb_frontend *fe, fe_sec_tone_mode_t tone) | 969 | static int cx24123_set_tone(struct dvb_frontend *fe, enum fe_sec_tone_mode tone) |
| 970 | { | 970 | { |
| 971 | struct cx24123_state *state = fe->demodulator_priv; | 971 | struct cx24123_state *state = fe->demodulator_priv; |
| 972 | u8 val; | 972 | u8 val; |
| @@ -995,7 +995,7 @@ static int cx24123_tune(struct dvb_frontend *fe, | |||
| 995 | bool re_tune, | 995 | bool re_tune, |
| 996 | unsigned int mode_flags, | 996 | unsigned int mode_flags, |
| 997 | unsigned int *delay, | 997 | unsigned int *delay, |
| 998 | fe_status_t *status) | 998 | enum fe_status *status) |
| 999 | { | 999 | { |
| 1000 | int retval = 0; | 1000 | int retval = 0; |
| 1001 | 1001 | ||
