diff mbox

[PATCHv2] OMAP: Enable Magic SysRq on serial console ttyOx

Message ID 1295426461-12459-1-git-send-email-weber@corscience.de (mailing list archive)
State Awaiting Upstream, archived
Headers show

Commit Message

Thomas Weber Jan. 19, 2011, 8:41 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/serial/omap-serial.c b/drivers/serial/omap-serial.c
index 1201eff..907be9b 100644
--- a/drivers/serial/omap-serial.c
+++ b/drivers/serial/omap-serial.c
@@ -20,6 +20,10 @@ 
  * this driver as required for the omap-platform.
  */
 
+#if defined(CONFIG_SERIAL_OMAP_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
+#define SUPPORT_SYSRQ
+#endif
+
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/console.h>