[2.6 patch] make drivers/char/hvc_console.c:khvcd() static
Adrian Bunk
bunk at stusta.de
Sun Jun 3 05:09:11 EST 2007
This patch makes the needlesly global khvcd() static.
Signed-off-by: Adrian Bunk <bunk at stusta.de>
---
--- 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;
More information about the Linuxppc-dev
mailing list