public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make drivers/char/mxser_new.c:mxser_hangup() static
@ 2006-12-18  3:46 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-12-18  3:46 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: linux-kernel

This patch makes the needlessly global mxser_hangup() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.20-rc1-mm1/drivers/char/mxser_new.c.old	2006-12-18 03:07:01.000000000 +0100
+++ linux-2.6.20-rc1-mm1/drivers/char/mxser_new.c	2006-12-18 03:07:12.000000000 +0100
@@ -2066,7 +2066,7 @@
 /*
  * This routine is called by tty_hangup() when a hangup is signaled.
  */
-void mxser_hangup(struct tty_struct *tty)
+static void mxser_hangup(struct tty_struct *tty)
 {
 	struct mxser_port *info = tty->driver_data;
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-18  3:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-18  3:46 [2.6 patch] make drivers/char/mxser_new.c:mxser_hangup() static Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox