Browse Source

[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: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Christian Borntraeger 18 years ago
parent
commit
f60d89108f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/s390/char/vmlogrdr.c

+ 2 - 2
drivers/s390/char/vmlogrdr.c

@@ -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:
 }
 }
 
 
 
 
-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");