projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad528e
)
[POWERPC] Quiet section mismatch warning on pcibios_setup
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Sat, 21 Jul 2007 14:37:38 +0000
(
00:37
+1000)
committer
Paul Mackerras
<paulus@samba.org>
Sun, 22 Jul 2007 11:30:59 +0000
(21:30 +1000)
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>
arch/powerpc/kernel/pci-common.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/pci-common.c
b/arch/powerpc/kernel/pci-common.c
index
94b4a02
..
fe7d125
100644
(file)
--- 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 __
dev
init *pcibios_setup(char *str)
{
return str;
}