diff --git a/drivers/s390/char/con3270.c b/drivers/s390/char/con3270.c index 9402690de59857a6f09fb1a4ee29eb68b9f85869..d9983550062d7216615d050fbf39d015660818d7 100644 --- a/drivers/s390/char/con3270.c +++ b/drivers/s390/char/con3270.c @@ -40,7 +40,6 @@ static struct tty_driver *tty3270_driver; static int tty3270_max_index; -static struct tty3270 *condev; static struct raw3270_fn tty3270_fn; #define TTY3270_HIGHLIGHT_BLINK 1 @@ -2045,6 +2044,9 @@ static void __exit tty3270_exit(void) } #if IS_ENABLED(CONFIG_TN3270_CONSOLE) + +static struct tty3270 *condev; + static void con3270_write(struct console *co, const char *str, unsigned int count) {