diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-12-19 05:32:35 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-02-26 00:41:32 +0300 |
commit | 762d73cd930e3073e927b2ec0811519bde2c8fb4 (patch) | |
tree | 6f8d2498ab6c3628567c56ba1a4156d927768af9 /drivers/mtd/ubi/build.c | |
parent | a1de28dd203176bb9cf62576a90d761aa57fe924 (diff) | |
download | linux-762d73cd930e3073e927b2ec0811519bde2c8fb4.tar.xz |
mtd: ubi: block: use notifier to create ubiblock from parameter
Use UBI_VOLUME_ADDED notification to create ubiblock device specified
on kernel cmdline or module parameter.
This makes thing more simple and has the advantage that ubiblock devices
on volumes which are not present at the time the ubi module is probed
will still be created.
Suggested-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/ubi/build.c')
0 files changed, 0 insertions, 0 deletions