Skip to content

Commit

Permalink
[POWERPC] free_property() must not be __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Paul Mackerras committed Feb 14, 2008
1 parent cf8918f commit 16e543f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/iseries/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 16e543f

Please sign in to comment.