Return-Path: Received: from smtp5.pp.htv.fi (smtp5.pp.htv.fi [213.243.153.39]) by ozlabs.org (Postfix) with ESMTP id ADE0EDDF40 for ; Thu, 14 Feb 2008 08:31:16 +1100 (EST) Date: Wed, 13 Feb 2008 23:30:55 +0200 From: Adrian Bunk To: paulus@samba.org Subject: [2.6 patch] powerpc: free_property() mustn't be __init Message-ID: <20080213213055.GP3383@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, Stephen Rothwell List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This patch 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 Acked-by: Stephen Rothwell --- This patch has been sent on: - 30 Jan 2008 99e9b48d8f5aba059916540fc69815db2b60b08d diff --git a/arch/powerpc/platforms/iseries/vio.c b/arch/powerpc/platforms/iseries/vio.c index be06cfd..657b72f 100644 --- a/arch/powerpc/platforms/iseries/vio.c +++ b/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); }