OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4354c0
)
sh-sci: SysRq support on EARLYCON
sh
author
Yoshinori Sato
<ysato@users.sourceforge.jp>
Wed, 27 Apr 2016 15:39:58 +0000
(
00:39
+0900)
committer
Yoshinori 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
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/sh-sci.c
b/drivers/tty/serial/sh-sci.c
index
0130feb
..
5a73620
100644
(file)
--- 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