Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
media
/
dvb-frontends
/
mt312.c
diff --git
a/kernel/drivers/media/dvb-frontends/mt312.c
b/kernel/drivers/media/dvb-frontends/mt312.c
index
2163490
..
c36e676
100644
(file)
--- a/
kernel/drivers/media/dvb-frontends/mt312.c
+++ b/
kernel/drivers/media/dvb-frontends/mt312.c
@@
-156,7
+156,7
@@
static int mt312_reset(struct mt312_state *state, const u8 full)
}
static int mt312_get_inversion(struct mt312_state *state,
}
static int mt312_get_inversion(struct mt312_state *state,
-
fe_spectral_inversion_t
*i)
+
enum fe_spectral_inversion
*i)
{
int ret;
u8 vit_mode;
{
int ret;
u8 vit_mode;
@@
-225,9
+225,9
@@
static int mt312_get_symbol_rate(struct mt312_state *state, u32 *sr)
return 0;
}
return 0;
}
-static int mt312_get_code_rate(struct mt312_state *state,
fe_code_rate_t
*cr)
+static int mt312_get_code_rate(struct mt312_state *state,
enum fe_code_rate
*cr)
{
{
- const
fe_code_rate_t
fec_tab[8] =
+ const
enum fe_code_rate
fec_tab[8] =
{ FEC_1_2, FEC_2_3, FEC_3_4, FEC_5_6, FEC_6_7, FEC_7_8,
FEC_AUTO, FEC_AUTO };
{ FEC_1_2, FEC_2_3, FEC_3_4, FEC_5_6, FEC_6_7, FEC_7_8,
FEC_AUTO, FEC_AUTO };
@@
-380,7
+380,8
@@
static int mt312_send_master_cmd(struct dvb_frontend *fe,
return 0;
}
return 0;
}
-static int mt312_send_burst(struct dvb_frontend *fe, const fe_sec_mini_cmd_t c)
+static int mt312_send_burst(struct dvb_frontend *fe,
+ const enum fe_sec_mini_cmd c)
{
struct mt312_state *state = fe->demodulator_priv;
const u8 mini_tab[2] = { 0x02, 0x03 };
{
struct mt312_state *state = fe->demodulator_priv;
const u8 mini_tab[2] = { 0x02, 0x03 };
@@
-403,7
+404,8
@@
static int mt312_send_burst(struct dvb_frontend *fe, const fe_sec_mini_cmd_t c)
return 0;
}
return 0;
}
-static int mt312_set_tone(struct dvb_frontend *fe, const fe_sec_tone_mode_t t)
+static int mt312_set_tone(struct dvb_frontend *fe,
+ const enum fe_sec_tone_mode t)
{
struct mt312_state *state = fe->demodulator_priv;
const u8 tone_tab[2] = { 0x01, 0x00 };
{
struct mt312_state *state = fe->demodulator_priv;
const u8 tone_tab[2] = { 0x01, 0x00 };
@@
-426,7
+428,8
@@
static int mt312_set_tone(struct dvb_frontend *fe, const fe_sec_tone_mode_t t)
return 0;
}
return 0;
}
-static int mt312_set_voltage(struct dvb_frontend *fe, const fe_sec_voltage_t v)
+static int mt312_set_voltage(struct dvb_frontend *fe,
+ const enum fe_sec_voltage v)
{
struct mt312_state *state = fe->demodulator_priv;
const u8 volt_tab[3] = { 0x00, 0x40, 0x00 };
{
struct mt312_state *state = fe->demodulator_priv;
const u8 volt_tab[3] = { 0x00, 0x40, 0x00 };
@@
-442,7
+445,7
@@
static int mt312_set_voltage(struct dvb_frontend *fe, const fe_sec_voltage_t v)
return mt312_writereg(state, DISEQC_MODE, val);
}
return mt312_writereg(state, DISEQC_MODE, val);
}
-static int mt312_read_status(struct dvb_frontend *fe,
fe_status_t
*s)
+static int mt312_read_status(struct dvb_frontend *fe,
enum fe_status
*s)
{
struct mt312_state *state = fe->demodulator_priv;
int ret;
{
struct mt312_state *state = fe->demodulator_priv;
int ret;