summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHarvey Harrison2008-04-25 06:49:24 +0200
committerMauro Carvalho Chehab2008-04-26 14:29:55 +0200
commita45e0b45e52adb10634112b338dfb3e66a83de31 (patch)
tree6d37532e3dcbffe2be848d7cbca7dc7b4b6aa46a /drivers
parentV4L/DVB (7735): Fix compilation for au0828 (diff)
downloadkernel-qcow2-linux-a45e0b45e52adb10634112b338dfb3e66a83de31.tar.gz
kernel-qcow2-linux-a45e0b45e52adb10634112b338dfb3e66a83de31.tar.xz
kernel-qcow2-linux-a45e0b45e52adb10634112b338dfb3e66a83de31.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/frontends/mt312.h2
1 files changed, 1 insertions, 1 deletions
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))