Skip to content

Commit

Permalink
[S390] vmlogrdr function annotation.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Jul 10, 2007
1 parent dce5547 commit f60d891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/s390/char/vmlogrdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ static void vmlogrdr_cleanup(void)
}


static int vmlogrdr_init(void)
static int __init vmlogrdr_init(void)
{
int rc;
int i;
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit f60d891

Please sign in to comment.