[POWERPC] free_property() must not be __init
authorAdrian Bunk <bunk@kernel.org>
Wed, 13 Feb 2008 21:30:55 +0000 (08:30 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Feb 2008 11:11:02 +0000 (22:11 +1100)
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>
arch/powerpc/platforms/iseries/vio.c

index be06cfd9fa3d5e20afbeaf7f444ce5bc4ea5c172..657b72f68493f63190fed4184e82d6cae427bfc8 100644 (file)
@@ -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);
 }