diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-04-27 10:29:52 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-28 15:25:12 +0300 |
commit | 7e0d4e92269e574e50a58041fac4cc75a149828c (patch) | |
tree | 4eb70bcae98e0b94f75266074d7ff6878b051dd2 /drivers/media/dvb-frontends/s921.h | |
parent | 874c65f038b8c8d7ba9490b8cbc204209f008c81 (diff) | |
download | linux-7e0d4e92269e574e50a58041fac4cc75a149828c.tar.xz |
[media] s3c-camif: fix compiler warnings
Fix these compiler warnings that appeared after switching to gcc-5.1.0:
drivers/media/platform/s3c-camif/camif-capture.c: In function 'sensor_set_power':
drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!on == camif->sensor.power_count)
^
drivers/media/platform/s3c-camif/camif-capture.c: In function 'sensor_set_streaming':
drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!on == camif->sensor.stream_count)
^
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/s921.h')
0 files changed, 0 insertions, 0 deletions