[2.6 patch] drivers/char/isicom.c: make a struct static
From: Adrian Bunk (bunk_at_stusta.de)
Date: 01/31/05
- Previous message: Matthew Garrett: "Re: [PATCH] Resume from initramfs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 Jan 2005 13:43:50 +0100 To: linux-kernel@vger.kernel.org
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
};
-
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/
- Previous message: Matthew Garrett: "Re: [PATCH] Resume from initramfs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|