summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ad5820.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 08:21:38 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 08:21:38 -0300
commit1ee6dd5a918bd98dea20a2847f1ca15964dca952 (patch)
tree28e803dd0cc5029b0bc2ec7b55eac7d0a8ac3ef2 /drivers/media/i2c/ad5820.c
parentd0a3a275e5676c547276f322eca4a789a570af19 (diff)
downloadlinux-1ee6dd5a918bd98dea20a2847f1ca15964dca952.tar.bz2
[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>
Diffstat (limited to 'drivers/media/i2c/ad5820.c')
-rw-r--r--drivers/media/i2c/ad5820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ad5820.c b/drivers/media/i2c/ad5820.c
index 62cc1f54622f..d7ad5c1a1219 100644
--- a/drivers/media/i2c/ad5820.c
+++ b/drivers/media/i2c/ad5820.c
@@ -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)