Messages in this thread Patch in this message | | | Date | Tue, 1 Mar 2005 02:16:04 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] drivers/serial/8250.c: make a variable static |
| |
This patch makes a needlessly global variable static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc4-mm1-full/drivers/serial/8250.c.old 2005-02-28 23:03:34.000000000 +0100 +++ linux-2.6.11-rc4-mm1-full/drivers/serial/8250.c 2005-02-28 23:06:55.000000000 +0100 @@ -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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |