Skip to content

Commit 7c5c8fa

Browse files
Xiu Jianfengrichardweinberger
authored andcommitted
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>
1 parent 9863941 commit 7c5c8fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/um/drivers/mmapper_kern.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ static int __init mmapper_init(void)
122122
return 0;
123123
}
124124

125-
static void mmapper_exit(void)
125+
static void __exit mmapper_exit(void)
126126
{
127127
misc_deregister(&mmapper_dev);
128128
}

0 commit comments

Comments
 (0)