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: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: c17fe081ac1f ("s390/3270: unify con3270 + tty3270") Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
parent
a43e3115fb
commit
9cab4f7d98
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user