aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tty_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r--drivers/char/tty_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index 4d3c7018f0c3..98b65a230994 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -1180,7 +1180,7 @@ struct tty_driver *tty_find_polling_driver(char *name, int *line)
1180 if (*str == ',') 1180 if (*str == ',')
1181 str++; 1181 str++;
1182 if (*str == '\0') 1182 if (*str == '\0')
1183 str = 0; 1183 str = NULL;
1184 1184
1185 if (tty_line >= 0 && tty_line <= p->num && p->poll_init && 1185 if (tty_line >= 0 && tty_line <= p->num && p->poll_init &&
1186 !p->poll_init(p, tty_line, str)) { 1186 !p->poll_init(p, tty_line, str)) {