[PATCH] fix map probe name for cstm_mips_ixx

Yoichi Yuasa yoichi_yuasa at tripeaks.co.jp
Wed Oct 25 10:29:17 EDT 2006


Hi,

This patch has fixed name of map probe for cstm_mips_ixx.c .

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>

diff -pruN -X mtd/Documentation/dontdiff mtd-orig/drivers/mtd/maps/cstm_mips_ixx.c mtd/drivers/mtd/maps/cstm_mips_ixx.c
--- mtd-orig/drivers/mtd/maps/cstm_mips_ixx.c	2006-10-25 10:35:03.616951250 +0900
+++ mtd/drivers/mtd/maps/cstm_mips_ixx.c	2006-10-25 10:37:19.973473000 +0900
@@ -115,7 +115,7 @@ int __init init_cstm_mips_ixx(void)
 		//printk(KERN_NOTICE "phymap %d cfi_probe: mymtd is %x\n",i,(unsigned int)mymtd);
 		if (!mymtd) {
 			jedec = 1;
-			mymtd = (struct mtd_info *)do_map_probe("jedec", &cstm_mips_ixx_map[i]);
+			mymtd = (struct mtd_info *)do_map_probe("jedec_probe", &cstm_mips_ixx_map[i]);
 		        printk(KERN_NOTICE "cstm_mips_ixx %d jedec: mymtd is %x\n",i,(unsigned int)mymtd);
 		}
 		if (mymtd) {




More information about the linux-mtd mailing list