[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>
This commit is contained in:
parent
cf8918fe55
commit
16e543ffa8
|
@ -75,7 +75,7 @@ static struct property *new_property(const char *name, int length,
|
|||
return np;
|
||||
}
|
||||
|
||||
static void __init free_property(struct property *np)
|
||||
static void free_property(struct property *np)
|
||||
{
|
||||
kfree(np);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue