From: Jan Beulich Date: Fri, 23 Jan 2015 08:37:01 +0000 (+0000) Subject: xen/tmem: mark xen_tmem_init() __init X-Git-Tag: v4.0-rc1~145^2~22 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=144c61ad355a4f31a45a2cd91c808020c4322374;p=linux-2.6-block.git 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 Signed-off-by: David Vrabel --- 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;