Skip to content

Commit 88920dd

Browse files
bjdooks-ctjgross1
authored andcommitted
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>
1 parent e8d255e commit 88920dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm/xen/mm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order)
134134
return;
135135
}
136136

137-
int __init xen_mm_init(void)
137+
static int __init xen_mm_init(void)
138138
{
139139
struct gnttab_cache_flush cflush;
140140
if (!xen_initial_domain())

0 commit comments

Comments
 (0)