projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.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
|
history
diff --git
a/drivers/mtd/ubi/build.c
b/drivers/mtd/ubi/build.c
index
8fd85e3
..
3497703
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)
{