[PATCH] xen/tmem: mark xen_tmem_init() __init

From: Jan Beulich
Date: Fri Jan 23 2015 - 03:37:08 EST


As a module_init() function, this should have been this way from the
beginning.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
drivers/xen/tmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.19-rc5/drivers/xen/tmem.c
+++ 3.19-rc5-xen-tmem-init/drivers/xen/tmem.c
@@ -374,7 +374,7 @@ static struct frontswap_ops tmem_frontsw
};
#endif

-static int xen_tmem_init(void)
+static int __init xen_tmem_init(void)
{
if (!xen_domain())
return 0;



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/