diff options
author | Hans Petter Selasky <hselasky@c2i.net> | 2012-03-27 15:53:19 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-04-09 12:42:11 (GMT) |
commit | c065f5b4ee4487bbd411049be6eea1b59a90db96 (patch) | |
tree | 09629a416bceda1bcd87d861da8b0cfda99fb943 /drivers/media/dvb | |
parent | 4da28766140449e04270246fae310c137180652d (diff) | |
download | linux-c065f5b4ee4487bbd411049be6eea1b59a90db96.tar.xz |
[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>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.c | 2 |
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 e721975..39696c6 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, static bool has_get_frontend(struct dvb_frontend *fe) { - return fe->ops.get_frontend; + return fe->ops.get_frontend != NULL; } /* |