summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-25 01:49:24 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-25 01:49:24 +0000
commit3360eb074488bb4138fc519803260976a557d69c (patch)
tree42cbd161d2d0399bd2b525250a2eba5f83a319ac /linux/drivers/media
parent3cc5f4b65c2a7cc8aae113cf8749ef7ccb714a50 (diff)
downloadmediapointer-dvb-s2-3360eb074488bb4138fc519803260976a557d69c.tar.gz
mediapointer-dvb-s2-3360eb074488bb4138fc519803260976a557d69c.tar.bz2
mt312.h: dubious one-bit signed bitfield
From: Harvey Harrison <harvey.harrison@gmail.com> 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 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/frontends/mt312.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt312.h b/linux/drivers/media/dvb/frontends/mt312.h
index 96338f0c4..de796eab3 100644
--- a/linux/drivers/media/dvb/frontends/mt312.h
+++ b/linux/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))