]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
trivial: NULL noise: drivers/media/dvb/frontends/drx397xD_fw.h
authorHannes Eder <hannes@hanneseder.net>
Thu, 5 Mar 2009 19:14:39 +0000 (20:14 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 30 Mar 2009 13:22:04 +0000 (15:22 +0200)
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>
drivers/media/dvb/frontends/drx397xD.c

index 1e81e713df635db0e310d3419c557c5bcce56fb1..172f1f928f0271f8e64bc7daa12ea999033ee2d6 100644 (file)
@@ -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   = { }           }