[PATCH 2.6 IrDA] static_irtty-sir

From: Jean Tourrilhes
Date: Wed Feb 25 2004 - 22:48:25 EST


irXXX_static_irtty-sir.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Stephen Hemminger>
o [FEATURE] make more symbol static (namespace pollution)


diff -Nru a/drivers/net/irda/irtty-sir.c b/drivers/net/irda/irtty-sir.c
--- a/drivers/net/irda/irtty-sir.c Mon Jan 26 14:37:09 2004
+++ b/drivers/net/irda/irtty-sir.c Mon Jan 26 14:37:09 2004
@@ -353,7 +353,8 @@

/*****************************************************************/

-DECLARE_MUTEX(irtty_sem); /* serialize ldisc open/close with sir_dev */
+/* serialize ldisc open/close with sir_dev */
+static DECLARE_MUTEX(irtty_sem);

/* notifier from sir_dev when irda% device gets opened (ifup) */

-
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/