diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2007-07-10 05:24:22 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-07-10 05:24:54 -0400 |
commit | f60d89108f3481ca11672b82cf7e67171e050ce4 (patch) | |
tree | bb5b44b2159041490754d9ac43554ec4002f6ee0 /drivers | |
parent | dce554708cdb02a1053ca3a68997b9facbfde5ce (diff) |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/char/vmlogrdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index a5a00e9ae4d0..12f7a4ce82c1 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c | |||
@@ -835,7 +835,7 @@ static void vmlogrdr_cleanup(void) | |||
835 | } | 835 | } |
836 | 836 | ||
837 | 837 | ||
838 | static int vmlogrdr_init(void) | 838 | static int __init vmlogrdr_init(void) |
839 | { | 839 | { |
840 | int rc; | 840 | int rc; |
841 | int i; | 841 | int i; |
@@ -885,7 +885,7 @@ cleanup: | |||
885 | } | 885 | } |
886 | 886 | ||
887 | 887 | ||
888 | static void vmlogrdr_exit(void) | 888 | static void __exit vmlogrdr_exit(void) |
889 | { | 889 | { |
890 | vmlogrdr_cleanup(); | 890 | vmlogrdr_cleanup(); |
891 | printk (KERN_INFO "vmlogrdr: driver unloaded\n"); | 891 | printk (KERN_INFO "vmlogrdr: driver unloaded\n"); |