1 Mar 2005 02:16
[2.6 patch] drivers/serial/8250.c: make a variable static
Adrian Bunk <bunk <at> stusta.de>
2005-03-01 01:16:04 GMT
2005-03-01 01:16:04 GMT
This patch makes a needlessly global variable static. Signed-off-by: Adrian Bunk <bunk <at> 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 <at> <at> -51,7 +51,7 <at> <at> * 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-serial" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed