From: Stephen Rothwell Date: Sat, 21 Jul 2007 14:37:38 +0000 (+1000) Subject: [POWERPC] Quiet section mismatch warning on pcibios_setup X-Git-Tag: v2.6.23-rc1~12^2~1 X-Git-Url: http://pilppa.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=a2b7390af4f6a9aec079dfc15874528c3adaeccb;p=linux-2.6-omap-h63xx.git [POWERPC] Quiet section mismatch warning on pcibios_setup WARNING: vmlinux.o(.text+0x1cefcc): Section mismatch: reference to .init.text:.pcibios_setup (between '.pci_setup' and '.pci_init') pci_setup() is marked __devinit and calls pcibios_setup. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 94b4a028232..fe7d1255e11 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c @@ -166,7 +166,7 @@ int pcibios_add_platform_entries(struct pci_dev *pdev) } -char __init *pcibios_setup(char *str) +char __devinit *pcibios_setup(char *str) { return str; }