提交 c065f5b4 编写于 作者: H Hans Petter Selasky 提交者: Mauro Carvalho Chehab

[media] dvb_frontend: fix compiler warning

has_get_frontend() should return a boolean, not a pointer.
Signed-off-by: NHans Petter Selasky <hselasky@c2i.net>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 4da28766
......@@ -148,7 +148,7 @@ static int dtv_property_legacy_params_sync(struct dvb_frontend *fe,
static bool has_get_frontend(struct dvb_frontend *fe)
{
return fe->ops.get_frontend;
return fe->ops.get_frontend != NULL;
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册