projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
719bb84
)
UBI: load after mtd device drivers
author
Jiang Lu
<lu.jiang@windriver.com>
Wed, 8 Aug 2012 02:31:01 +0000
(10:31 +0800)
committer
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Wed, 26 Sep 2012 10:22:44 +0000
(13:22 +0300)
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>
drivers/mtd/ubi/build.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/ubi/build.c
b/drivers/mtd/ubi/build.c
index 8fd85e32506a15783891ba396197c2f316b90cee..34977039850c033986285b8e207d66a653c4a791 100644
(file)
--- a/
drivers/mtd/ubi/build.c
+++ b/
drivers/mtd/ubi/build.c
@@
-1261,7
+1261,7
@@
out:
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)
{