mtd/drivers/mtd afs.c,1.10,1.11 cmdlinepart.c,1.8,1.9 redboot.c,1.8,1.9

David Woodhouse dwmw2 at infradead.org
Fri May 16 13:08:27 EDT 2003


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv27785

Modified Files:
	afs.c cmdlinepart.c redboot.c 
Log Message:
unexport old parse routines

Index: afs.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/afs.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- afs.c	16 May 2003 16:11:07 -0000	1.10
+++ afs.c	16 May 2003 17:08:24 -0000	1.11
@@ -125,7 +125,7 @@
 	return ret;
 }
 
-int parse_afs_partitions(struct mtd_info *mtd, 
+static int parse_afs_partitions(struct mtd_info *mtd, 
                          struct mtd_partition **pparts,
                          unsigned long origin)
 {
@@ -228,9 +228,6 @@
 	*pparts = parts;
 	return idx ? idx : ret;
 }
-
-EXPORT_SYMBOL(parse_afs_partitions);
-
 
 static struct mtd_part_parser afs_parser = {
 	.owner = THIS_MODULE,

Index: cmdlinepart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/cmdlinepart.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cmdlinepart.c	16 May 2003 16:11:07 -0000	1.8
+++ cmdlinepart.c	16 May 2003 17:08:24 -0000	1.9
@@ -291,7 +291,7 @@
  * information. It returns partitions for the requested mtd device, or
  * the first one in the chain if a NULL mtd_id is passed in.
  */
-int parse_cmdline_partitions(struct mtd_info *master, 
+static int parse_cmdline_partitions(struct mtd_info *master, 
                              struct mtd_partition **pparts,
                              unsigned long origin)
 {
@@ -349,9 +349,6 @@
 }
 
 __setup("mtdparts=", mtdpart_setup);
-
-EXPORT_SYMBOL(parse_cmdline_partitions);
-
 
 static struct mtd_part_parser cmdline_parser = {
 	.owner = THIS_MODULE,

Index: redboot.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/redboot.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- redboot.c	16 May 2003 16:07:06 -0000	1.8
+++ redboot.c	16 May 2003 17:08:24 -0000	1.9
@@ -34,9 +34,9 @@
 	return 1;
 }
 
-int parse_redboot_partitions(struct mtd_info *master, 
+static int parse_redboot_partitions(struct mtd_info *master, 
                              struct mtd_partition **pparts,
-                             void *fis_origin)
+                             unsigned long fis_origin)
 {
 	int nrparts = 0;
 	struct fis_image_desc *buf;
@@ -93,7 +93,7 @@
 		}
 		new_fl->img = &buf[i];
                 if (fis_origin) {
-                        buf[i].flash_base -= (unsigned long)fis_origin;
+                        buf[i].flash_base -= fis_origin;
                 } else {
                         buf[i].flash_base &= master->size-1;
                 }
@@ -160,8 +160,6 @@
 	kfree(buf);
 	return ret;
 }
-
-EXPORT_SYMBOL(parse_redboot_partitions);
 
 static struct mtd_part_parser redboot_parser = {
 	.owner = THIS_MODULE,




More information about the linux-mtd-cvs mailing list