2007-06-02 19:09:33

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make drivers/char/hvc_console.c:khvcd() static

This patch makes the needlesly global khvcd() static.

Signed-off-by: Adrian Bunk <[email protected]>

---
--- linux-2.6.22-rc3-mm1/drivers/char/hvc_console.c.old 2007-06-02 19:58:07.000000000 +0200
+++ linux-2.6.22-rc3-mm1/drivers/char/hvc_console.c 2007-06-02 19:58:28.000000000 +0200
@@ -674,7 +674,7 @@
* calling hvc_poll() who determines whether a console adapter support
* interrupts.
*/
-int khvcd(void *unused)
+static int khvcd(void *unused)
{
int poll_mask;
struct hvc_struct *hp;