OSDN Git Service

sh-sci: SysRq support on EARLYCON sh
authorYoshinori Sato <ysato@users.sourceforge.jp>
Wed, 27 Apr 2016 15:39:58 +0000 (00:39 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Sun, 1 May 2016 04:35:29 +0000 (13:35 +0900)
Add missing flag condition.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
drivers/tty/serial/sh-sci.c

index 0130feb..5a73620 100644 (file)
@@ -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