make drivers/char/mxser_new.c:mxser_hangup() static
Subsystems (2)
PATCH 1/1 make drivers/char/mxser_new.c:mxser_hangup() static
This patch makes the needlessly global mxser_hangup() static.
Signed-off-by Adrian Bunk <[email protected]>
drivers/char/mxser_new.c renamed from drivers/char/mxser_new.c.old +1 -1
@@ -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;