Commit eb6cf7bb authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Artem Bityutskiy

[MTD] fix map probe name for cstm_mips_ixx

This patch has fixed name of map probe for cstm_mips_ixx.c
Signed-off-by: default avatarYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: default avatarArtem Bityutskiy <dedekind@infradead.org>
parent c0fe10ae
...@@ -115,7 +115,7 @@ int __init init_cstm_mips_ixx(void) ...@@ -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); //printk(KERN_NOTICE "phymap %d cfi_probe: mymtd is %x\n",i,(unsigned int)mymtd);
if (!mymtd) { if (!mymtd) {
jedec = 1; 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); printk(KERN_NOTICE "cstm_mips_ixx %d jedec: mymtd is %x\n",i,(unsigned int)mymtd);
} }
if (mymtd) { if (mymtd) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment