patch-2.4.11-dontuse linux/drivers/mtd/maps/sun_uflash.c

Next file: linux/drivers/mtd/maps/tqm8xxl.c
Previous file: linux/drivers/mtd/maps/solutionengine.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/drivers/mtd/maps/sun_uflash.c linux/drivers/mtd/maps/sun_uflash.c
@@ -1,4 +1,4 @@
-/* $Id: sun_uflash.c,v 1.2 2001/04/26 15:40:23 dwmw2 Exp $
+/* $Id: sun_uflash.c,v 1.4 2001/10/02 15:05:14 dwmw2 Exp $
  *
  * sun_uflash - Driver implementation for user-programmable flash
  * present on many Sun Microsystems SME boardsets.
@@ -37,6 +37,8 @@
 	("User-programmable flash device on Sun Microsystems boardsets");
 MODULE_SUPPORTED_DEVICE
 	("userflash");
+MODULE_LICENSE
+	("GPL");
 
 static LIST_HEAD(device_list);
 struct uflash_dev {
@@ -154,7 +156,7 @@
 	}
 
 	/* MTD registration */
-	pdev->mtd = do_map_probe("cfi", &pdev->map);
+	pdev->mtd = do_map_probe("cfi_probe", &pdev->map);
 	if(0 == pdev->mtd) {
 		iounmap((void *)pdev->map.map_priv_1);
 		kfree(pdev->name);

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