patch-2.4.21 linux-2.4.21/drivers/mtd/chips/chipreg.c

Next file: linux-2.4.21/drivers/mtd/chips/gen_probe.c
Previous file: linux-2.4.21/drivers/mtd/chips/cfi_probe.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/mtd/chips/chipreg.c linux-2.4.21/drivers/mtd/chips/chipreg.c
@@ -1,5 +1,5 @@
 /*
- * $Id: chipreg.c,v 1.12 2001/10/02 15:29:53 dwmw2 Exp $
+ * $Id: chipreg.c,v 1.13 2002/02/21 08:26:58 dwmw2 Exp $
  *
  * Registration for chip drivers
  *
@@ -29,7 +29,7 @@
 	spin_unlock(&chip_drvs_lock);
 }
 
-static struct mtd_chip_driver *get_mtd_chip_driver (char *name)
+static struct mtd_chip_driver *get_mtd_chip_driver (const char *name)
 {
 	struct list_head *pos;
 	struct mtd_chip_driver *ret = NULL, *this;
@@ -57,7 +57,7 @@
 	/* Hide all the horrid details, like some silly person taking
 	   get_module_symbol() away from us, from the caller. */
 
-struct mtd_info *do_map_probe(char *name, struct map_info *map)
+struct mtd_info *do_map_probe(const char *name, struct map_info *map)
 {
 	struct mtd_chip_driver *drv;
 	struct mtd_info *ret;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)