Commit 1d44ccb9 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] cxd2820r: fix bitfields

error: dubious one-bit signed bitfield
Reported-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d838f4c3
...@@ -55,13 +55,13 @@ struct cxd2820r_config { ...@@ -55,13 +55,13 @@ struct cxd2820r_config {
* Default: 0 * Default: 0
* Values: 0, 1 * Values: 0, 1
*/ */
int if_agc_polarity:1; bool if_agc_polarity;
/* Spectrum inversion. /* Spectrum inversion.
* Default: 0 * Default: 0
* Values: 0, 1 * Values: 0, 1
*/ */
int spec_inv:1; bool spec_inv;
/* IFs for all used modes. /* IFs for all used modes.
* Default: none, must set * Default: none, must set
......
...@@ -55,13 +55,13 @@ struct cxd2820r_priv { ...@@ -55,13 +55,13 @@ struct cxd2820r_priv {
struct mutex fe_lock; /* FE lock */ struct mutex fe_lock; /* FE lock */
int active_fe:2; /* FE lock, -1=NONE, 0=DVB-T/T2, 1=DVB-C */ int active_fe:2; /* FE lock, -1=NONE, 0=DVB-T/T2, 1=DVB-C */
int ber_running:1; bool ber_running;
u8 bank[2]; u8 bank[2];
u8 gpio[3]; u8 gpio[3];
fe_delivery_system_t delivery_system; fe_delivery_system_t delivery_system;
int last_tune_failed:1; /* for switch between T and T2 tune */ bool last_tune_failed; /* for switch between T and T2 tune */
}; };
/* cxd2820r_core.c */ /* cxd2820r_core.c */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment