[media] ad5820: fix one smatch warning
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 11:21:38 +0000 (08:21 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 11:21:38 +0000 (08:21 -0300)
drivers/media/i2c/ad5820.c:61:24: error: dubious one-bit signed bitfield

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ad5820.c

index 62cc1f54622fa80a97296731346e9d54f0e20187..d7ad5c1a1219a2f817df6ce7ffe2b1f8877539a0 100644 (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)