Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e85ba51 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

[S390] cmm: add missing __init/__exit annotations



Add missing __init and __exit annoations for module init and exit
functions. This will save us huge amounts of memory... sort of.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent c304db8a
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -427,7 +427,7 @@ static struct notifier_block cmm_power_notifier = {
	.notifier_call = cmm_power_event,
	.notifier_call = cmm_power_event,
};
};


static int cmm_init(void)
static int __init cmm_init(void)
{
{
	int rc = -ENOMEM;
	int rc = -ENOMEM;


@@ -467,7 +467,7 @@ static int cmm_init(void)
}
}
module_init(cmm_init);
module_init(cmm_init);


static void cmm_exit(void)
static void __exit cmm_exit(void)
{
{
	unregister_sysctl_table(cmm_sysctl_header);
	unregister_sysctl_table(cmm_sysctl_header);
#ifdef CONFIG_CMM_IUCV
#ifdef CONFIG_CMM_IUCV