Commit 1ee6dd5a authored by Mauro Carvalho Chehab's avatar 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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent d0a3a275
...@@ -58,7 +58,7 @@ struct ad5820_device { ...@@ -58,7 +58,7 @@ struct ad5820_device {
struct mutex power_lock; struct mutex power_lock;
int power_count; int power_count;
int standby : 1; unsigned int standby : 1;
}; };
static int ad5820_write(struct ad5820_device *coil, u16 data) static int ad5820_write(struct ad5820_device *coil, u16 data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment