summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/lgdt3305.h
diff options
context:
space:
mode:
authorNemeth Marton <nm127@freemail.hu>2009-12-15 23:28:35 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 14:31:34 +0100
commit1faea56087dfaf84019557f2c9ad18bd67c6012a (patch)
treeb57037c1ccf6d808618f7a8730dddbac681d2b63 /drivers/media/dvb/frontends/lgdt3305.h
parentV4L/DVB (13816): gspca - main: Set the current frame pointer when first qbuf. (diff)
downloadlinux-1faea56087dfaf84019557f2c9ad18bd67c6012a.tar.xz
linux-1faea56087dfaf84019557f2c9ad18bd67c6012a.zip
V4L/DVB (13820): lgdt3305: make one-bit bitfields unsigned
Make one-bit bitfields unsigned which will remove the following sparse warning messages (see "make C=1"): * lgdt3305.h:57:21: error: dubious one-bit signed bitfield * lgdt3305.h:60:26: error: dubious one-bit signed bitfield * lgdt3305.h:63:19: error: dubious one-bit signed bitfield Signed-off-by: Nemeth Marton <nm127@freemail.hu> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/lgdt3305.h')
-rw-r--r--drivers/media/dvb/frontends/lgdt3305.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/lgdt3305.h b/drivers/media/dvb/frontends/lgdt3305.h
index 4fa6e52d1fe8..9cb11c9cae53 100644
--- a/drivers/media/dvb/frontends/lgdt3305.h
+++ b/drivers/media/dvb/frontends/lgdt3305.h
@@ -54,13 +54,13 @@ struct lgdt3305_config {
u16 usref_qam256; /* default: 0x2a80 */
/* 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;
/* use RF AGC loop - 0:disabled 1:enabled */
- int rf_agc_loop:1;
+ unsigned int rf_agc_loop:1;
enum lgdt3305_mpeg_mode mpeg_mode;
enum lgdt3305_tp_clock_edge tpclk_edge;