Skip to content

Commit

Permalink
V4L/DVB (7739): mt312.h: dubious one-bit signed bitfield
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harvey Harrison authored and Mauro Carvalho Chehab committed Apr 26, 2008
1 parent d0d1422 commit a45e0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/mt312.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a45e0b4

Please sign in to comment.