summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-09-11 05:52:38 +0300
committerRichard Weinberger <richard@nod.at>2022-09-20 00:01:50 +0300
commit7c5c8faeab4db1eecc181e01ccc7c16b1ec24b99 (patch)
treefcf827218f489a3f20752ab925a2c6e98e40863b /arch/um
parent98639412fee2fda3c9da184825b469e5ac874829 (diff)
downloadlinux-7c5c8faeab4db1eecc181e01ccc7c16b1ec24b99.tar.xz
um: mmaper: add __exit annotations to module exit funcs
Add missing __exit annotations to module exit funcs. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/mmapper_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mmapper_kern.c b/arch/um/drivers/mmapper_kern.c
index 0bf78ff89011..807cd3358740 100644
--- a/arch/um/drivers/mmapper_kern.c
+++ b/arch/um/drivers/mmapper_kern.c
@@ -122,7 +122,7 @@ static int __init mmapper_init(void)
return 0;
}
-static void mmapper_exit(void)
+static void __exit mmapper_exit(void)
{
misc_deregister(&mmapper_dev);
}