aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 11:02:13 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 12:09:35 -0200
commitd0f11347c962e775e6179e67101a22636c59babb (patch)
tree8153ecd3a049891ed1f223d46d5ba6bd14152ff3
parent87ac8bc45c90a90f848e5396de2ec9fdcab5bec5 (diff)
[media] lgdt3306a: one bit fields should be unsigned
Fix two smatch warnings: drivers/media/dvb-frontends/lgdt3306a.h:53:28: error: dubious one-bit signed bitfield drivers/media/dvb-frontends/lgdt3306a.h:56:33: error: dubious one-bit signed bitfield Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/dvb-frontends/lgdt3306a.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.h b/drivers/media/dvb-frontends/lgdt3306a.h
index 405beebb86e1..0b020e743060 100644
--- a/drivers/media/dvb-frontends/lgdt3306a.h
+++ b/drivers/media/dvb-frontends/lgdt3306a.h
@@ -50,10 +50,10 @@ struct lgdt3306a_config {
u16 vsb_if_khz;
/* disable i2c repeater - 0:repeater enabled 1:repeater disabled */
- int deny_i2c_rptr:1;
+ unsigned int deny_i2c_rptr:1;
/* spectral inversion - 0:disabled 1:enabled */
- int spectral_inversion:1;
+ unsigned int spectral_inversion:1;
enum lgdt3306a_mpeg_mode mpeg_mode;
enum lgdt3306a_tp_clock_edge tpclk_edge;

Privacy Policy