* [2.6 patch] drivers/char/isicom.c: make a struct static
@ 2005-01-31 12:43 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-31 12:43 UTC (permalink / raw)
To: linux-kernel
This patch makes a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc2-mm2-full/drivers/char/isicom.c.old 2005-01-31 13:17:00.000000000 +0100
+++ linux-2.6.11-rc2-mm2-full/drivers/char/isicom.c 2005-01-31 13:17:07.000000000 +0100
@@ -381,7 +381,7 @@
.ioctl = ISILoad_ioctl,
};
-struct miscdevice isiloader_device = {
+static struct miscdevice isiloader_device = {
ISILOAD_MISC_MINOR, "isictl", &ISILoad_fops
};
^ permalink raw reply [flat|nested] 2+ messages in thread* [2.6 patch] drivers/char/isicom.c: make a struct static
@ 2005-02-24 23:39 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-24 23:39 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, Alan Cox
This patch makes a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Alan Cox <alan@redhat.com>
---
This patch was already sent on:
- 31 Jan 2005
--- linux-2.6.11-rc2-mm2-full/drivers/char/isicom.c.old 2005-01-31 13:17:00.000000000 +0100
+++ linux-2.6.11-rc2-mm2-full/drivers/char/isicom.c 2005-01-31 13:17:07.000000000 +0100
@@ -381,7 +381,7 @@
.ioctl = ISILoad_ioctl,
};
-struct miscdevice isiloader_device = {
+static struct miscdevice isiloader_device = {
ISILOAD_MISC_MINOR, "isictl", &ISILoad_fops
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-25 0:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31 12:43 [2.6 patch] drivers/char/isicom.c: make a struct static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-02-24 23:39 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox