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
David Woodhouse
dwmw2 at infradead.org
Tue Nov 16 13:29:34 EST 2004
- Previous message: 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
- Next message: mtd/drivers/mtd ftl.c,1.53,1.54
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv30747/chips
Modified Files:
cfi_cmdset_0001.c cfi_cmdset_0002.c cfi_cmdset_0020.c
chipreg.c jedec_probe.c map_absent.c map_ram.c map_rom.c
Log Message:
Patch from Adrian Bunk <bunk at stusta.de> -- make a lot of code static.
Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -r1.163 -r1.164
--- cfi_cmdset_0001.c 15 Nov 2004 20:56:31 -0000 1.163
+++ cfi_cmdset_0001.c 16 Nov 2004 18:29:00 -0000 1.164
@@ -2136,7 +2136,7 @@
static char im_name_1[]="cfi_cmdset_0001";
static char im_name_3[]="cfi_cmdset_0003";
-int __init cfi_intelext_init(void)
+static int __init cfi_intelext_init(void)
{
inter_module_register(im_name_1, THIS_MODULE, &cfi_cmdset_0001);
inter_module_register(im_name_3, THIS_MODULE, &cfi_cmdset_0001);
Index: cfi_cmdset_0002.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0002.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- cfi_cmdset_0002.c 24 Sep 2004 04:26:04 -0000 1.110
+++ cfi_cmdset_0002.c 16 Nov 2004 18:29:00 -0000 1.111
@@ -1506,7 +1506,7 @@
static char im_name[]="cfi_cmdset_0002";
-int __init cfi_amdstd_init(void)
+static int __init cfi_amdstd_init(void)
{
inter_module_register(im_name, THIS_MODULE, &cfi_cmdset_0002);
return 0;
Index: cfi_cmdset_0020.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0020.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- cfi_cmdset_0020.c 9 Aug 2004 13:19:43 -0000 1.15
+++ cfi_cmdset_0020.c 16 Nov 2004 18:29:00 -0000 1.16
@@ -1401,7 +1401,7 @@
static char im_name[]="cfi_cmdset_0020";
-int __init cfi_staa_init(void)
+static int __init cfi_staa_init(void)
{
inter_module_register(im_name, THIS_MODULE, &cfi_cmdset_0020);
return 0;
Index: chipreg.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/chipreg.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- chipreg.c 29 May 2003 09:36:15 -0000 1.16
+++ chipreg.c 16 Nov 2004 18:29:00 -0000 1.17
@@ -15,7 +15,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/compatmac.h>
-spinlock_t chip_drvs_lock = SPIN_LOCK_UNLOCKED;
+static spinlock_t chip_drvs_lock = SPIN_LOCK_UNLOCKED;
static LIST_HEAD(chip_drvs_list);
void register_mtd_chip_driver(struct mtd_chip_driver *drv)
Index: jedec_probe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/jedec_probe.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- jedec_probe.c 17 Sep 2004 11:45:05 -0000 1.57
+++ jedec_probe.c 16 Nov 2004 18:29:00 -0000 1.58
@@ -1661,7 +1661,7 @@
static int jedec_probe_chip(struct map_info *map, __u32 base,
unsigned long *chip_map, struct cfi_private *cfi);
-struct mtd_info *jedec_probe(struct map_info *map);
+static struct mtd_info *jedec_probe(struct map_info *map);
static inline u32 jedec_read_mfr(struct map_info *map, __u32 base,
struct cfi_private *cfi)
@@ -2055,7 +2055,7 @@
.probe_chip = jedec_probe_chip
};
-struct mtd_info *jedec_probe(struct map_info *map)
+static struct mtd_info *jedec_probe(struct map_info *map)
{
/*
* Just use the generic probe stuff to call our CFI-specific
@@ -2070,7 +2070,7 @@
.module = THIS_MODULE
};
-int __init jedec_probe_init(void)
+static int __init jedec_probe_init(void)
{
register_mtd_chip_driver(&jedec_chipdrv);
return 0;
Index: map_absent.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/map_absent.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- map_absent.c 28 May 2003 12:51:49 -0000 1.4
+++ map_absent.c 16 Nov 2004 18:29:00 -0000 1.5
@@ -98,7 +98,7 @@
/* nop */
}
-int __init map_absent_init(void)
+static int __init map_absent_init(void)
{
register_mtd_chip_driver(&map_absent_chipdrv);
return 0;
Index: map_ram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/map_ram.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- map_ram.c 9 Aug 2004 13:19:43 -0000 1.20
+++ map_ram.c 16 Nov 2004 18:29:00 -0000 1.21
@@ -124,7 +124,7 @@
/* Nothing to see here */
}
-int __init map_ram_init(void)
+static int __init map_ram_init(void)
{
register_mtd_chip_driver(&mapram_chipdrv);
return 0;
Index: map_rom.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/map_rom.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- map_rom.c 12 Jul 2004 14:06:01 -0000 1.21
+++ map_rom.c 16 Nov 2004 18:29:00 -0000 1.22
@@ -19,7 +19,7 @@
static int maprom_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *);
static int maprom_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
static void maprom_nop (struct mtd_info *);
-struct mtd_info *map_rom_probe(struct map_info *map);
+static struct mtd_info *map_rom_probe(struct map_info *map);
static struct mtd_chip_driver maprom_chipdrv = {
.probe = map_rom_probe,
@@ -27,7 +27,7 @@
.module = THIS_MODULE
};
-struct mtd_info *map_rom_probe(struct map_info *map)
+static struct mtd_info *map_rom_probe(struct map_info *map)
{
struct mtd_info *mtd;
@@ -75,7 +75,7 @@
return -EIO;
}
-int __init map_rom_init(void)
+static int __init map_rom_init(void)
{
register_mtd_chip_driver(&maprom_chipdrv);
return 0;
- Previous message: 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
- Next message: mtd/drivers/mtd ftl.c,1.53,1.54
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list