summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/lg2160.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-04-17 08:18:30 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-22 10:04:20 -0300
commit71867976466b48462f65992d3d6198e5f2888bbf (patch)
treee11cd3a41114f07626dc0996e23e575da90afb66 /drivers/media/dvb-frontends/lg2160.h
parent6695be6863b75620ffa6d422965680ce785cb7c8 (diff)
downloadtalos-op-linux-71867976466b48462f65992d3d6198e5f2888bbf.tar.gz
talos-op-linux-71867976466b48462f65992d3d6198e5f2888bbf.zip
[media] lg2160: dubious one-bit signed bitfield
Sparse complains that these are "dubious one-bit signed bitfields" and the comment says it was intended to be 1 and 0 instead of -1 and 0. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/lg2160.h')
-rw-r--r--drivers/media/dvb-frontends/lg2160.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/lg2160.h b/drivers/media/dvb-frontends/lg2160.h
index a5f036824d68..194a07a78dc1 100644
--- a/drivers/media/dvb-frontends/lg2160.h
+++ b/drivers/media/dvb-frontends/lg2160.h
@@ -57,10 +57,10 @@ struct lg2160_config {
u16 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;
unsigned int output_if;
enum lg2160_spi_clock spi_clock;
OpenPOWER on IntegriCloud