[lkml]   [2014]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 06/46] kernel: Include appropriate header file in kernel/debug/kdb/kdb_keyboard.c
Include appropriate header file kernel/debug/kdb/kdb_private.h in
kernel/debug/kdb/kdb_keyboard.c because it contains prototype definition
of functions defined in kernel/debug/kdb/kdb_keyboard.c.

This eliminates the following warning in
kernel/debug/kdb/kdb_keyboard.c:199:6: warning: no previous prototype for ‘kdb_kbd_cleanup_state’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <>
Reviewed-by: Josh Triplett <>
kernel/debug/kdb/kdb_keyboard.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/kernel/debug/kdb/kdb_keyboard.c b/kernel/debug/kdb/kdb_keyboard.c
index 118527a..f1405da 100644
--- a/kernel/debug/kdb/kdb_keyboard.c
+++ b/kernel/debug/kdb/kdb_keyboard.c
@@ -14,6 +14,8 @@
#include <linux/module.h>
#include <linux/io.h>

+#include "kdb_private.h"
/* Keyboard Controller Registers on normal PCs. */

#define KBD_STATUS_REG 0x64 /* Status register (R) */
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2014-02-27 15:01    [W:0.428 / U:1.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site