ubi: Fix ubi_init() ubiblock_exit() section mismatch
authorRichard Weinberger <richard@nod.at>
Sat, 13 Jul 2024 07:35:19 +0000 (09:35 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 28 Jul 2024 18:08:25 +0000 (20:08 +0200)
commit92a286e90203ce3e6c3a6d945fa36da419c3671f
tree7f9632dc40ba72fa5864b2703c5ad8e396cd0b8e
parent054fd15984454f031611d6c63675fc578aad0cb1
ubi: Fix ubi_init() ubiblock_exit() section mismatch

Since ubiblock_exit() is now called from an init function,
the __exit section no longer makes sense.

Cc: Ben Hutchings <bwh@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407131403.wZJpd8n2-lkp@intel.com/
Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
drivers/mtd/ubi/block.c