]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 96338f0c4dd47268d60727b9a35b251d62b469ad..de796eab39119506770ea9403e14fa9557dacfdf 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))