Sfoglia il codice sorgente

[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>
Adrian Bunk 17 anni fa
parent
commit
16e543ffa8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      arch/powerpc/platforms/iseries/vio.c

+ 1 - 1
arch/powerpc/platforms/iseries/vio.c

@@ -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);
 }