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

[POWERPC] free_property() must not be __init

This fixes the following section mismatch:

<-- snip -->

...
WARNING: vmlinux.o(.text+0x55648): Section mismatch in reference from the function .free_node() to the function .init.text:.free_property()
...

<-- snip -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

Adrian Bunk and committed by
Paul Mackerras
16e543ff cf8918fe

+1 -1
+1 -1
arch/powerpc/platforms/iseries/vio.c
··· 75 75 return np; 76 76 } 77 77 78 - static void __init free_property(struct property *np) 78 + static void free_property(struct property *np) 79 79 { 80 80 kfree(np); 81 81 }