[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>
This commit is contained in:
parent
dce554708c
commit
f60d89108f
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue