V4L/DVB (7739): mt312.h: dubious one-bit signed bitfield
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 25 Apr 2008 04:49:24 +0000 (01:49 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 26 Apr 2008 12:29:55 +0000 (09:29 -0300)
Make it unsigned (0/1) rather than signed (0/-1).

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/mt312.h

index 96338f0..de796ea 100644 (file)
@@ -33,7 +33,7 @@ struct mt312_config {
        u8 demod_address;
 
        /* inverted voltage setting */
-       int voltage_inverted:1;
+       unsigned int voltage_inverted:1;
 };
 
 #if defined(CONFIG_DVB_MT312) || (defined(CONFIG_DVB_MT312_MODULE) && defined(MODULE))