From: Linus Torvalds Date: Thu, 8 Sep 2005 21:47:12 +0000 (-0700) Subject: Fix up ARM serial driver compile failure X-Git-Tag: v2.6.14-rc1~136^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e1491847ef5ca1c5a661601d5f96dcb7d90d2f0;p=platform%2Fkernel%2Flinux-exynos.git Fix up ARM serial driver compile failure Proud member of Uglyhacks'R'US. Acked-by: David S. Miller Acked-by: Russell King Signed-off-by: Linus Torvalds --- diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 9b12fe7..27db8da 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -401,6 +401,9 @@ uart_handle_sysrq_char(struct uart_port *port, unsigned int ch, #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...