mtd/drivers/mtd cmdlinepart.c, 1.15, 1.16 inftlcore.c, 1.17,
1.18 mtd_blkdevs.c, 1.23, 1.24 mtdblock.c, 1.64,
1.65 mtdblock_ro.c, 1.18, 1.19 mtdcore.c, 1.43, 1.44 mtdpart.c,
1.50, 1.51 nftlcore.c, 1.96, 1.97
David Woodhouse
dwmw2 at infradead.org
Tue Nov 16 13:29:32 EST 2004
- Previous message: mtd/drivers/mtd/maps amd76xrom.c, 1.17, 1.18 elan-104nc.c, 1.23,
1.24 ichxrom.c, 1.14, 1.15 l440gx.c, 1.15, 1.16 pnc2000.c,
1.16, 1.17 sbc_gxx.c, 1.31, 1.32 scb2_flash.c, 1.9,
1.10 scx200_docflash.c, 1.8, 1.9
- Next message: mtd/drivers/mtd/chips cfi_cmdset_0001.c, 1.163,
1.164 cfi_cmdset_0002.c, 1.110, 1.111 cfi_cmdset_0020.c, 1.15,
1.16 chipreg.c, 1.16, 1.17 jedec_probe.c, 1.57,
1.58 map_absent.c, 1.4, 1.5 map_ram.c, 1.20, 1.21 map_rom.c,
1.21, 1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv30747
Modified Files:
cmdlinepart.c inftlcore.c mtd_blkdevs.c mtdblock.c
mtdblock_ro.c mtdcore.c mtdpart.c nftlcore.c
Log Message:
Patch from Adrian Bunk <bunk at stusta.de> -- make a lot of code static.
Index: cmdlinepart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/cmdlinepart.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- cmdlinepart.c 21 Sep 2004 12:11:41 -0000 1.15
+++ cmdlinepart.c 16 Nov 2004 18:28:59 -0000 1.16
@@ -339,7 +339,7 @@
* main.c::checksetup(). Note that we can not yet kmalloc() anything,
* so we only save the commandline for later processing.
*/
-int mtdpart_setup(char *s)
+static int mtdpart_setup(char *s)
{
cmdline = s;
return 1;
Index: inftlcore.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/inftlcore.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- inftlcore.c 9 Aug 2004 13:56:48 -0000 1.17
+++ inftlcore.c 16 Nov 2004 18:28:59 -0000 1.18
@@ -352,7 +352,7 @@
return targetEUN;
}
-u16 INFTL_makefreeblock(struct INFTLrecord *inftl, unsigned pendingblock)
+static u16 INFTL_makefreeblock(struct INFTLrecord *inftl, unsigned pendingblock)
{
/*
* This is the part that needs some cleverness applied.
@@ -877,7 +877,7 @@
return 0;
}
-struct mtd_blktrans_ops inftl_tr = {
+static struct mtd_blktrans_ops inftl_tr = {
.name = "inftl",
.major = INFTL_MAJOR,
.part_bits = INFTL_PARTN_BITS,
@@ -891,7 +891,7 @@
extern char inftlmountrev[];
-int __init init_inftl(void)
+static int __init init_inftl(void)
{
printk(KERN_INFO "INFTL: inftlcore.c $Revision$, "
"inftlmount.c %s\n", inftlmountrev);
Index: mtd_blkdevs.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtd_blkdevs.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- mtd_blkdevs.c 19 Aug 2004 01:54:36 -0000 1.23
+++ mtd_blkdevs.c 16 Nov 2004 18:28:59 -0000 1.24
@@ -143,7 +143,7 @@
}
-int blktrans_open(struct inode *i, struct file *f)
+static int blktrans_open(struct inode *i, struct file *f)
{
struct mtd_blktrans_dev *dev;
struct mtd_blktrans_ops *tr;
@@ -174,7 +174,7 @@
return ret;
}
-int blktrans_release(struct inode *i, struct file *f)
+static int blktrans_release(struct inode *i, struct file *f)
{
struct mtd_blktrans_dev *dev;
struct mtd_blktrans_ops *tr;
@@ -326,7 +326,7 @@
return 0;
}
-void blktrans_notify_remove(struct mtd_info *mtd)
+static void blktrans_notify_remove(struct mtd_info *mtd)
{
struct list_head *this, *this2, *next;
@@ -342,7 +342,7 @@
}
}
-void blktrans_notify_add(struct mtd_info *mtd)
+static void blktrans_notify_add(struct mtd_info *mtd)
{
struct list_head *this;
Index: mtdblock.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdblock.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- mtdblock.c 4 Oct 2003 17:14:14 -0000 1.64
+++ mtdblock.c 16 Nov 2004 18:28:59 -0000 1.65
@@ -361,7 +361,7 @@
kfree(dev);
}
-struct mtd_blktrans_ops mtdblock_tr = {
+static struct mtd_blktrans_ops mtdblock_tr = {
.name = "mtdblock",
.major = 31,
.part_bits = 0,
@@ -375,7 +375,7 @@
.owner = THIS_MODULE,
};
-int __init init_mtdblock(void)
+static int __init init_mtdblock(void)
{
return register_mtd_blktrans(&mtdblock_tr);
}
Index: mtdblock_ro.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdblock_ro.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- mtdblock_ro.c 23 Jun 2003 12:00:08 -0000 1.18
+++ mtdblock_ro.c 16 Nov 2004 18:28:59 -0000 1.19
@@ -58,7 +58,7 @@
kfree(dev);
}
-struct mtd_blktrans_ops mtdblock_tr = {
+static struct mtd_blktrans_ops mtdblock_tr = {
.name = "mtdblock",
.major = 31,
.part_bits = 0,
Index: mtdcore.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdcore.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- mtdcore.c 23 Jul 2004 15:20:46 -0000 1.43
+++ mtdcore.c 16 Nov 2004 18:28:59 -0000 1.44
@@ -382,7 +382,7 @@
/*====================================================================*/
/* Init code */
-int __init init_mtd(void)
+static int __init init_mtd(void)
{
#ifdef CONFIG_PROC_FS
if ((proc_mtd = create_proc_entry( "mtd", 0, NULL )))
Index: mtdpart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdpart.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- mtdpart.c 10 Aug 2004 16:18:34 -0000 1.50
+++ mtdpart.c 16 Nov 2004 18:28:59 -0000 1.51
@@ -526,7 +526,7 @@
static spinlock_t part_parser_lock = SPIN_LOCK_UNLOCKED;
static LIST_HEAD(part_parsers);
-struct mtd_part_parser *get_partition_parser(const char *name)
+static struct mtd_part_parser *get_partition_parser(const char *name)
{
struct list_head *this;
void *ret = NULL;
Index: nftlcore.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nftlcore.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- nftlcore.c 28 Jun 2004 13:52:55 -0000 1.96
+++ nftlcore.c 16 Nov 2004 18:28:59 -0000 1.97
@@ -421,7 +421,7 @@
return targetEUN;
}
-u16 NFTL_makefreeblock( struct NFTLrecord *nftl , unsigned pendingblock)
+static u16 NFTL_makefreeblock( struct NFTLrecord *nftl , unsigned pendingblock)
{
/* This is the part that needs some cleverness applied.
For now, I'm doing the minimum applicable to actually
@@ -731,7 +731,7 @@
****************************************************************************/
-struct mtd_blktrans_ops nftl_tr = {
+static struct mtd_blktrans_ops nftl_tr = {
.name = "nftl",
.major = NFTL_MAJOR,
.part_bits = NFTL_PARTN_BITS,
@@ -747,7 +747,7 @@
extern char nftlmountrev[];
-int __init init_nftl(void)
+static int __init init_nftl(void)
{
printk(KERN_INFO "NFTL driver: nftlcore.c $Revision$, nftlmount.c %s\n", nftlmountrev);
- Previous message: mtd/drivers/mtd/maps amd76xrom.c, 1.17, 1.18 elan-104nc.c, 1.23,
1.24 ichxrom.c, 1.14, 1.15 l440gx.c, 1.15, 1.16 pnc2000.c,
1.16, 1.17 sbc_gxx.c, 1.31, 1.32 scb2_flash.c, 1.9,
1.10 scx200_docflash.c, 1.8, 1.9
- Next message: mtd/drivers/mtd/chips cfi_cmdset_0001.c, 1.163,
1.164 cfi_cmdset_0002.c, 1.110, 1.111 cfi_cmdset_0020.c, 1.15,
1.16 chipreg.c, 1.16, 1.17 jedec_probe.c, 1.57,
1.58 map_absent.c, 1.4, 1.5 map_ram.c, 1.20, 1.21 map_rom.c,
1.21, 1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list