[2.6 patch] drivers/char/keyboard.c: make a function static

From: Adrian Bunk
Date: Sun May 01 2005 - 11:05:16 EST


This patch makes a needlessly globbal function static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

This patch was already sent on:
- 17 Apr 2005

--- linux-2.6.12-rc2-mm3-full/drivers/char/keyboard.c.old 2005-04-17 18:10:34.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/char/keyboard.c 2005-04-17 18:10:55.000000000 +0200
@@ -1026,7 +1026,8 @@
put_queue(vc, data);
}

-void kbd_keycode(unsigned int keycode, int down, int hw_raw, struct pt_regs *regs)
+static void kbd_keycode(unsigned int keycode, int down,
+ int hw_raw, struct pt_regs *regs)
{
struct vc_data *vc = vc_cons[fg_console].d;
unsigned short keysym, *key_map;



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/