提交 cf38aca5 编写于 作者: J Jiang Lu 提交者: Artem Bityutskiy

UBI: load after mtd device drivers

Use 'late_initcall()' in UBI to make sure it initializes after MTD drivers.
Signed-off-by: NJiang Lu <lu.jiang@windriver.com>
Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
上级 719bb840
......@@ -1261,7 +1261,7 @@ static int __init ubi_init(void)
ubi_err("UBI error: cannot initialize UBI, error %d", err);
return err;
}
module_init(ubi_init);
late_initcall(ubi_init);
static void __exit ubi_exit(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册