diff options
author | Hans Petter Selasky <hselasky@c2i.net> | 2012-03-27 17:53:19 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-04-09 14:42:11 +0200 |
commit | c065f5b4ee4487bbd411049be6eea1b59a90db96 (patch) | |
tree | 09629a416bceda1bcd87d861da8b0cfda99fb943 /drivers/media | |
parent | [media] it913x: fix firmware loading errors (diff) | |
download | linux-c065f5b4ee4487bbd411049be6eea1b59a90db96.tar.xz linux-c065f5b4ee4487bbd411049be6eea1b59a90db96.zip |
[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')
-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 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, static bool has_get_frontend(struct dvb_frontend *fe) { - return fe->ops.get_frontend; + return fe->ops.get_frontend != NULL; } /* |