Commit 9cab4f7d authored by Heiko Carstens's avatar Heiko Carstens

s390/con3270: move condev definition

Fix this for allmodconfig:

drivers/s390/char/con3270.c:43:24: error: 'condev' defined but not used [-Werror=unused-variable]
 static struct tty3270 *condev;
                        ^~~~~~
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: c17fe081 ("s390/3270: unify con3270 + tty3270")
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent a43e3115
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment