projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ee9bed
)
Fix up ARM serial driver compile failure
author
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 8 Sep 2005 21:47:12 +0000
(14:47 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 8 Sep 2005 21:47:12 +0000
(14:47 -0700)
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>
include/linux/serial_core.h
patch
|
blob
|
history
diff --git
a/include/linux/serial_core.h
b/include/linux/serial_core.h
index 9b12fe731612dfd2ccb1665278dd5416e2e509f3..27db8da43aa40d4f40133cce0869c08f159d017e 100644
(file)
--- 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...