Skip to contentSkip to conversation

drivers/char/rio/rio_linux.c: make a variable static

PATCH New Adrian Bunk 1 participant 1 message Apr 17, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/char/rio/rio_linux.c: make a variable static

This patch makes a needlessly global variable static.

drivers/char/rio/rio_linux.c renamed from drivers/char/rio/rio_linux.c.old +1 -1
@@ -221,7 +221,7 @@
 /* Set the mask to all-ones. This alas, only supports 32 interrupts. 
    Some architectures may need more. -- Changed to LONG to
    support up to 64 bits on 64bit architectures. -- REW 20/06/99 */
-long rio_irqmask = -1;
+static long rio_irqmask = -1;
 
 MODULE_AUTHOR("Rogier Wolff <[email protected]>, Patrick van de Lageweg <[email protected]>");
 MODULE_DESCRIPTION("RIO driver");