summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-03-05 20:14:39 +0100
committerJiri Kosina <jkosina@suse.cz>2009-03-30 15:22:04 +0200
commit9c12bd8601a505d10fb5a93fed59a973088cbb85 (patch)
tree7160dcfba06633eaa2d7429cc3f93d45086c015d
parentb731d7b6a7b4c2ca4b5e9384cb5197e4e8204651 (diff)
downloadop-kernel-dev-9c12bd8601a505d10fb5a93fed59a973088cbb85.zip
op-kernel-dev-9c12bd8601a505d10fb5a93fed59a973088cbb85.tar.gz
trivial: NULL noise: drivers/media/dvb/frontends/drx397xD_fw.h
Fix this sparse warnings: drivers/media/dvb/frontends/drx397xD_fw.h:21:2: warning: Using plain integer as NULL pointer drivers/media/dvb/frontends/drx397xD_fw.h:22:2: warning: Using plain integer as NULL pointer Signed-off-by: Hannes Eder <hannes@hanneseder.net> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/media/dvb/frontends/drx397xD.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/drx397xD.c b/drivers/media/dvb/frontends/drx397xD.c
index 1e81e71..172f1f9 100644
--- a/drivers/media/dvb/frontends/drx397xD.c
+++ b/drivers/media/dvb/frontends/drx397xD.c
@@ -74,7 +74,7 @@ static struct {
} fw[] = {
#define _FW_ENTRY(a, b, c) { \
.name = a, \
- .file = 0, \
+ .file = NULL, \
.lock = __RW_LOCK_UNLOCKED(fw[c].lock), \
.refcnt = 0, \
.data = { } }
OpenPOWER on IntegriCloud