summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-09-11 04:52:38 +0200
committerRichard Weinberger <richard@nod.at>2022-09-19 23:01:50 +0200
commit7c5c8faeab4db1eecc181e01ccc7c16b1ec24b99 (patch)
treefcf827218f489a3f20752ab925a2c6e98e40863b /arch
parentum: virt-pci: add __init/__exit annotations to module init/exit funcs (diff)
downloadlinux-7c5c8faeab4db1eecc181e01ccc7c16b1ec24b99.tar.xz
linux-7c5c8faeab4db1eecc181e01ccc7c16b1ec24b99.zip
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')
-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);
}