aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@c2i.net>2012-03-27 11:53:19 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-09 08:42:11 -0400
commitc065f5b4ee4487bbd411049be6eea1b59a90db96 (patch)
tree09629a416bceda1bcd87d861da8b0cfda99fb943
parent4da28766140449e04270246fae310c137180652d (diff)
[media] dvb_frontend: fix compiler warning
has_get_frontend() should return a boolean, not a pointer. Signed-off-by: Hans Petter Selasky <hselasky@c2i.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index e721975476b0..39696c6a4ed7 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -148,7 +148,7 @@ static int dtv_property_legacy_params_sync(struct dvb_frontend *fe,
148 148
149static bool has_get_frontend(struct dvb_frontend *fe) 149static bool has_get_frontend(struct dvb_frontend *fe)
150{ 150{
151 return fe->ops.get_frontend; 151 return fe->ops.get_frontend != NULL;
152} 152}
153 153
154/* 154/*