Commit 144c61ad authored by Jan Beulich's avatar Jan Beulich Committed by David Vrabel

xen/tmem: mark xen_tmem_init() __init

As a module_init() function, this should have been this way from the
beginning.
Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent 94dd85f6
...@@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontswap_ops = { ...@@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontswap_ops = {
}; };
#endif #endif
static int xen_tmem_init(void) static int __init xen_tmem_init(void)
{ {
if (!xen_domain()) if (!xen_domain())
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment