aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-05-25 11:42:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:52:10 -0400
commit1d44ccb9ea7fc05cae7d76fdb7e1e54c7dd27ef5 (patch)
tree8dd385e6c6ecd91b06e140b1eb82e264e9601fd9
parentd838f4c318f12785a81e3e073a71ba4bb4ccd8cf (diff)
[media] cxd2820r: fix bitfields
error: dubious one-bit signed bitfield Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/cxd2820r.h4
-rw-r--r--drivers/media/dvb/frontends/cxd2820r_priv.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/cxd2820r.h b/drivers/media/dvb/frontends/cxd2820r.h
index ad17845123d9..2906582dc94c 100644
--- a/drivers/media/dvb/frontends/cxd2820r.h
+++ b/drivers/media/dvb/frontends/cxd2820r.h
@@ -55,13 +55,13 @@ struct cxd2820r_config {
55 * Default: 0 55 * Default: 0
56 * Values: 0, 1 56 * Values: 0, 1
57 */ 57 */
58 int if_agc_polarity:1; 58 bool if_agc_polarity;
59 59
60 /* Spectrum inversion. 60 /* Spectrum inversion.
61 * Default: 0 61 * Default: 0
62 * Values: 0, 1 62 * Values: 0, 1
63 */ 63 */
64 int spec_inv:1; 64 bool spec_inv;
65 65
66 /* IFs for all used modes. 66 /* IFs for all used modes.
67 * Default: none, must set 67 * Default: none, must set
diff --git a/drivers/media/dvb/frontends/cxd2820r_priv.h b/drivers/media/dvb/frontends/cxd2820r_priv.h
index 25adbeefa6d3..0c0ebc9d5c4a 100644
--- a/drivers/media/dvb/frontends/cxd2820r_priv.h
+++ b/drivers/media/dvb/frontends/cxd2820r_priv.h
@@ -55,13 +55,13 @@ struct cxd2820r_priv {
55 struct mutex fe_lock; /* FE lock */ 55 struct mutex fe_lock; /* FE lock */
56 int active_fe:2; /* FE lock, -1=NONE, 0=DVB-T/T2, 1=DVB-C */ 56 int active_fe:2; /* FE lock, -1=NONE, 0=DVB-T/T2, 1=DVB-C */
57 57
58 int ber_running:1; 58 bool ber_running;
59 59
60 u8 bank[2]; 60 u8 bank[2];
61 u8 gpio[3]; 61 u8 gpio[3];
62 62
63 fe_delivery_system_t delivery_system; 63 fe_delivery_system_t delivery_system;
64 int last_tune_failed:1; /* for switch between T and T2 tune */ 64 bool last_tune_failed; /* for switch between T and T2 tune */
65}; 65};
66 66
67/* cxd2820r_core.c */ 67/* cxd2820r_core.c */