Skip to contentSkip to conversation

drivers/serial/8250.c: make a variable static

PATCH New Adrian Bunk 1 participant 1 message Mar 1, 2005 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/serial/8250.c: make a variable static

This patch makes a needlessly global variable static.

drivers/serial/8250.c renamed from drivers/serial/8250.c.old +1 -1
@@ -51,7 +51,7 @@
  *   share_irqs - whether we pass SA_SHIRQ to request_irq().  This option
  *                is unsafe when used on edge-triggered interrupts.
  */
-unsigned int share_irqs = SERIAL8250_SHARE_IRQS;
+static unsigned int share_irqs = SERIAL8250_SHARE_IRQS;
 
 /*
  * Debugging.