mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
UBI: load after mtd device drivers
Use 'late_initcall()' in UBI to make sure it initializes after MTD drivers. Signed-off-by: Jiang Lu <lu.jiang@windriver.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
parent
719bb84017
commit
cf38aca520
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue