From: Yoshinori Sato Date: Wed, 27 Apr 2016 15:39:58 +0000 (+0900) Subject: sh-sci: SysRq support on EARLYCON X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=refs%2Fheads%2Fsh;p=uclinux-h8%2Flinux.git sh-sci: SysRq support on EARLYCON Add missing flag condition. Signed-off-by: Yoshinori Sato --- diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 0130feb069ae..5a73620d6ca2 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -18,7 +18,9 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. */ -#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +#if (defined(CONFIG_SERIAL_SH_SCI_CONSOLE) || \ + defined(CONFIG_SERIAL_SH_SCI_EARLYCON)) && \ + defined(CONFIG_MAGIC_SYSRQ) #define SUPPORT_SYSRQ #endif