[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64N.0705311106160.7856@blysk.ds.pg.gda.pl>
Date: Thu, 31 May 2007 11:12:00 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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@...ux-mips.org>
---
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists