[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>
This commit is contained in:
Stephen Rothwell 2007-07-22 00:37:38 +10:00 committed by Paul Mackerras
parent 1ad528ebfd
commit a2b7390af4

View File

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