summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-02-25 06:54:21 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-25 06:54:21 +0000
commit0bb418357c0e03d3d6fd6d5bea64dccefd9694eb (patch)
treed7a5d64e58db84387640a7360025c53fc2f49fa1 /linux
parent9b3749d68b5eb12fe8ef2fc299888b8338bd3367 (diff)
downloadmediapointer-dvb-s2-0bb418357c0e03d3d6fd6d5bea64dccefd9694eb.tar.gz
mediapointer-dvb-s2-0bb418357c0e03d3d6fd6d5bea64dccefd9694eb.tar.bz2
fix integer as NULL pointer warning in mt20xx.c
From: Harvey Harrison <harvey.harrison@gmail.com> drivers/media/video/mt20xx.c:650:10: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/mt20xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/mt20xx.c b/linux/drivers/media/video/mt20xx.c
index 5a8a53d8a..d2c281aeb 100644
--- a/linux/drivers/media/video/mt20xx.c
+++ b/linux/drivers/media/video/mt20xx.c
@@ -682,7 +682,7 @@ struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
default:
tuner_info("microtune %s found, not (yet?) supported, sorry :-/\n",
name);
- return 0;
+ return NULL;
}
strlcpy(fe->ops.tuner_ops.info.name, name,