Commit f60d8910 authored by Christian Borntraeger's avatar Christian Borntraeger Committed by 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: default avatarStefan Weinhuber <wein@de.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent dce55470
...@@ -835,7 +835,7 @@ static void vmlogrdr_cleanup(void) ...@@ -835,7 +835,7 @@ static void vmlogrdr_cleanup(void)
} }
static int vmlogrdr_init(void) static int __init vmlogrdr_init(void)
{ {
int rc; int rc;
int i; int i;
...@@ -885,7 +885,7 @@ cleanup: ...@@ -885,7 +885,7 @@ cleanup:
} }
static void vmlogrdr_exit(void) static void __exit vmlogrdr_exit(void)
{ {
vmlogrdr_cleanup(); vmlogrdr_cleanup();
printk (KERN_INFO "vmlogrdr: driver unloaded\n"); printk (KERN_INFO "vmlogrdr: driver unloaded\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment