summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-07-21 16:37:38 +0200
committerPaul Mackerras <paulus@samba.org>2007-07-22 13:30:59 +0200
commita2b7390af4f6a9aec079dfc15874528c3adaeccb (patch)
tree5790467b337f17c2462b47809a52183cbd365fa4 /arch/powerpc
parent[POWERPC] init and exit markings for hvc_iseries (diff)
downloadlinux-a2b7390af4f6a9aec079dfc15874528c3adaeccb.tar.xz
linux-a2b7390af4f6a9aec079dfc15874528c3adaeccb.zip
[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 <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/pci-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 94b4a028232a..fe7d1255e11e 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;
}