2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00

[media] ad5820: fix one smatch warning

drivers/media/i2c/ad5820.c:61:24: error: dubious one-bit signed bitfield

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2016-08-24 08:21:38 -03:00
parent d0a3a275e5
commit 1ee6dd5a91

View File

@ -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)