summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/si2165.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-08-20 19:32:03 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 10:00:36 -0300
commite73c7bfea0770ce9e908fc4b9093752c22155d1d (patch)
treeae39d65b3f6c67e37a6b26b70fdfe7d623effada /drivers/media/dvb-frontends/si2165.c
parent817d2fd4cb3686191a3f411275394c4c573e79e0 (diff)
downloadlinux-e73c7bfea0770ce9e908fc4b9093752c22155d1d.tar.gz
linux-e73c7bfea0770ce9e908fc4b9093752c22155d1d.tar.bz2
linux-e73c7bfea0770ce9e908fc4b9093752c22155d1d.zip
[media] si2165: fix sparse warning
drivers/media/dvb-frontends/si2165.c:329:16: warning: odd constant _Bool cast (ffffffffffffffea becomes 1) Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/si2165.c')
-rw-r--r--drivers/media/dvb-frontends/si2165.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/si2165.c b/drivers/media/dvb-frontends/si2165.c
index 3a2d6c5aded6..4386092975d0 100644
--- a/drivers/media/dvb-frontends/si2165.c
+++ b/drivers/media/dvb-frontends/si2165.c
@@ -312,7 +312,7 @@ static u32 si2165_get_fe_clk(struct si2165_state *state)
return state->adc_clk;
}
-static bool si2165_wait_init_done(struct si2165_state *state)
+static int si2165_wait_init_done(struct si2165_state *state)
{
int ret = -EINVAL;
u8 val = 0;