Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xen: mm: make xen_mm_init static

The xen_mm_init is not exported or used outside of the file
it is declared in, so make it static. This fixes the following
sparse warning:

arch/arm/xen/mm.c:136:12: warning: symbol 'xen_mm_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Juergen Gross <jgross@suse.com>

authored by

Ben Dooks (Codethink) and committed by
Juergen Gross
88920dde e8d255e4

+1 -1
+1 -1
arch/arm/xen/mm.c
··· 134 134 return; 135 135 } 136 136 137 - int __init xen_mm_init(void) 137 + static int __init xen_mm_init(void) 138 138 { 139 139 struct gnttab_cache_flush cflush; 140 140 if (!xen_initial_domain())