提交 1ee6dd5a 编写于 作者: M Mauro Carvalho Chehab

[media] ad5820: fix one smatch warning

drivers/media/i2c/ad5820.c:61:24: error: dubious one-bit signed bitfield
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 d0a3a275
......@@ -58,7 +58,7 @@ struct ad5820_device {
struct mutex power_lock;
int power_count;
int standby : 1;
unsigned int standby : 1;
};
static int ad5820_write(struct ad5820_device *coil, u16 data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册