diff options
author | Richard Weinberger <[email protected]> | 2024-07-13 09:35:19 +0200 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2024-07-28 20:08:25 +0200 |
commit | 92a286e90203ce3e6c3a6d945fa36da419c3671f (patch) | |
tree | 7f9632dc40ba72fa5864b2703c5ad8e396cd0b8e | |
parent | 054fd15984454f031611d6c63675fc578aad0cb1 (diff) |
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 <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Richard Weinberger <[email protected]>
Reviewed-by: Zhihao Cheng <[email protected]>
-rw-r--r-- | drivers/mtd/ubi/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c index bf7308e8ec2f..60d0155be869 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c @@ -670,7 +670,7 @@ err_unreg: return ret; } -void __exit ubiblock_exit(void) +void ubiblock_exit(void) { ubi_unregister_volume_notifier(&ubiblock_notifier); ubiblock_remove_all(); |