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@xxxxxxxxxxxxxx> --- Please apply. Maciej patch-2.6.22-rc2-serial-sysrq-2 diff -up --recursive --new-file linux-2.6.22-rc2.macro/include/linux/serial_core.h linux-2.6.22-rc2/include/linux/serial_core.h --- linux-2.6.22-rc2.macro/include/linux/serial_core.h 2007-05-27 15:12:02.000000000 +0000 +++ linux-2.6.22-rc2/include/linux/serial_core.h 2007-05-30 20:33:10.000000000 +0000 @@ -152,6 +152,7 @@ #include <linux/sched.h> #include <linux/tty.h> #include <linux/mutex.h> +#include <linux/sysrq.h> struct uart_port; struct uart_info; - To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html