summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2015-01-23 08:37:01 +0000
committerDavid Vrabel <david.vrabel@citrix.com>2015-01-23 11:55:24 +0000
commit144c61ad355a4f31a45a2cd91c808020c4322374 (patch)
treeabd9881560308cc48432166856224ada98d0d746 /drivers
parent94dd85f6a0688245dbb5a452a86a2a545dee96c1 (diff)
downloadlinux-144c61ad355a4f31a45a2cd91c808020c4322374.tar.gz
linux-144c61ad355a4f31a45a2cd91c808020c4322374.tar.bz2
linux-144c61ad355a4f31a45a2cd91c808020c4322374.zip
xen/tmem: mark xen_tmem_init() __init
As a module_init() function, this should have been this way from the beginning. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/tmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/tmem.c b/drivers/xen/tmem.c
index 83b5c53bec6b..8a65423bc696 100644
--- a/drivers/xen/tmem.c
+++ b/drivers/xen/tmem.c
@@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontswap_ops = {
};
#endif
-static int xen_tmem_init(void)
+static int __init xen_tmem_init(void)
{
if (!xen_domain())
return 0;