* [2.6 patch] drivers/serial/8250.c: make a variable static
@ 2005-04-15 15:10 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-04-15 15:10 UTC (permalink / raw)
To: Andrew Morton; +Cc: rmk+serial, linux-serial, linux-kernel
This patch makes a needlessly global variable static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 1 Mar 2005
--- 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] drivers/serial/8250.c: make a variable static
@ 2005-03-01 1:16 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-03-01 1:16 UTC (permalink / raw)
To: rmk+serial; +Cc: linux-serial, linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-15 15:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-15 15:10 [2.6 patch] drivers/serial/8250.c: make a variable static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-03-01 1:16 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).