提交 f60d8910 编写于 作者: C Christian Borntraeger 提交者: Martin Schwidefsky

[S390] vmlogrdr function annotation.

Use __init and __exit for vmlogrdr. Both functions are only referenced
by the module_init exit macros, so this change should be fine.
Acked-by: NStefan Weinhuber <wein@de.ibm.com>
Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 dce55470
......@@ -835,7 +835,7 @@ static void vmlogrdr_cleanup(void)
}
static int vmlogrdr_init(void)
static int __init vmlogrdr_init(void)
{
int rc;
int i;
......@@ -885,7 +885,7 @@ static int vmlogrdr_init(void)
}
static void vmlogrdr_exit(void)
static void __exit vmlogrdr_exit(void)
{
vmlogrdr_cleanup();
printk (KERN_INFO "vmlogrdr: driver unloaded\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册