diff options
author | Jan Beulich <JBeulich@suse.com> | 2015-01-23 08:37:01 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-01-23 11:55:24 +0000 |
commit | 144c61ad355a4f31a45a2cd91c808020c4322374 (patch) | |
tree | abd9881560308cc48432166856224ada98d0d746 /drivers/xen/tmem.c | |
parent | 94dd85f6a0688245dbb5a452a86a2a545dee96c1 (diff) |
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/xen/tmem.c')
-rw-r--r-- | drivers/xen/tmem.c | 2 |
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; |