]> err.no Git - linux-2.6/blobdiff - drivers/char/tty_io.c
ipmi: style fixes in the base code
[linux-2.6] / drivers / char / tty_io.c
index 4d3c7018f0c3a9198093ace1ed28b69747a2209b..98b65a2309943041f88690b6b50bddab096300be 100644 (file)
@@ -1180,7 +1180,7 @@ struct tty_driver *tty_find_polling_driver(char *name, int *line)
                if (*str == ',')
                        str++;
                if (*str == '\0')
-                       str = 0;
+                       str = NULL;
 
                if (tty_line >= 0 && tty_line <= p->num && p->poll_init &&
                                !p->poll_init(p, tty_line, str)) {