tree 0baa06fd22d299baf2e632a5319d8fd7bec26d1c
parent 1ee9bed173acd2f505f4e76e69d13cb2b82963e9
author Linus Torvalds <[EMAIL PROTECTED]> Fri, 09 Sep 2005 04:47:12 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Fri, 09 Sep 2005 04:47:12 -0700

Fix up ARM serial driver compile failure

Proud member of Uglyhacks'R'US.

Acked-by: David S. Miller <[EMAIL PROTECTED]>
Acked-by: Russell King <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 include/linux/serial_core.h |    3 +++
 1 files changed, 3 insertions(+)

diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -401,6 +401,9 @@ uart_handle_sysrq_char(struct uart_port 
 #endif
        return 0;
 }
+#ifndef SUPPORT_SYSRQ
+#define uart_handle_sysrq_char(port,ch,regs) uart_handle_sysrq_char(port, 0, 
NULL)
+#endif
 
 /*
  * We do the SysRQ and SAK checking like this...
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to