diff options
Diffstat (limited to 'drivers/tty/serial/dz.c')
-rw-r--r-- | drivers/tty/serial/dz.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/tty/serial/dz.c b/drivers/tty/serial/dz.c index 730da413d8ed..4552742c3859 100644 --- a/drivers/tty/serial/dz.c +++ b/drivers/tty/serial/dz.c @@ -29,10 +29,6 @@ #undef DEBUG_DZ -#if defined(CONFIG_SERIAL_DZ_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) -#define SUPPORT_SYSRQ -#endif - #include <linux/bitops.h> #include <linux/compiler.h> #include <linux/console.h> @@ -787,6 +783,7 @@ static void __init dz_init_ports(void) uport->ops = &dz_ops; uport->line = line; uport->mapbase = base; + uport->has_sysrq = IS_ENABLED(CONFIG_SERIAL_DZ_CONSOLE); } } |