From: Harvey Harrison <harvey.harrison@gmail.com>
Date: Fri, 25 Apr 2008 04:49:24 +0000 (-0300)
Subject: V4L/DVB (7739): mt312.h: dubious one-bit signed bitfield
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a45e0b45e52adb10634112b338dfb3e66a83de31;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git

V4L/DVB (7739): mt312.h: dubious one-bit signed bitfield

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>
---

diff --git a/drivers/media/dvb/frontends/mt312.h b/drivers/media/dvb/frontends/mt312.h
index 96338f0c4dd4..de796eab3911 100644
--- a/drivers/media/dvb/frontends/mt312.h
+++ b/drivers/media/dvb/frontends/mt312.h
@@ -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))