Explorar o código

serial_core.h: include <linux/sysrq.h>

The <linux/serial_core.h> header refers to handle_sysrq(), but does not
include <linux/sysrq.h> which provides a declaration of the function.  This
may result in an implicit declaration and a warning if the actual one is
seen later on.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Maciej W. Rozycki %!s(int64=18) %!d(string=hai) anos
pai
achega
b11115c153
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/linux/serial_core.h

+ 1 - 0
include/linux/serial_core.h

@@ -152,6 +152,7 @@
 #include <linux/sched.h>
 #include <linux/sched.h>
 #include <linux/tty.h>
 #include <linux/tty.h>
 #include <linux/mutex.h>
 #include <linux/mutex.h>
+#include <linux/sysrq.h>
 
 
 struct uart_port;
 struct uart_port;
 struct uart_info;
 struct uart_info;