summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 14:47:12 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 14:47:12 -0700
commit4e1491847ef5ca1c5a661601d5f96dcb7d90d2f0 (patch)
tree0baa06fd22d299baf2e632a5319d8fd7bec26d1c /include/linux/serial_core.h
parent1ee9bed173acd2f505f4e76e69d13cb2b82963e9 (diff)
downloadlinux-4e1491847ef5ca1c5a661601d5f96dcb7d90d2f0.tar.gz
linux-4e1491847ef5ca1c5a661601d5f96dcb7d90d2f0.tar.bz2
linux-4e1491847ef5ca1c5a661601d5f96dcb7d90d2f0.zip
Fix up ARM serial driver compile failure
Proud member of Uglyhacks'R'US. Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Russell King <rmk+lkml@arm.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 9b12fe731612..27db8da43aa4 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...