提交 beeea6d6 编写于 作者: P Paul Mundt

sh64: Fix up PCI section mismatch warnings.

pcibios_fixup_bus() and pcibios_setup() should be __devinit.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 207a1305
...@@ -48,7 +48,7 @@ static void __init pci_fixup_ide_bases(struct pci_dev *d) ...@@ -48,7 +48,7 @@ static void __init pci_fixup_ide_bases(struct pci_dev *d)
} }
DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases); DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases);
char * __init pcibios_setup(char *str) char * __devinit pcibios_setup(char *str)
{ {
return str; return str;
} }
...@@ -497,7 +497,7 @@ static int __init pcibios_init(void) ...@@ -497,7 +497,7 @@ static int __init pcibios_init(void)
subsys_initcall(pcibios_init); subsys_initcall(pcibios_init);
void __init pcibios_fixup_bus(struct pci_bus *bus) void __devinit pcibios_fixup_bus(struct pci_bus *bus)
{ {
struct pci_dev *dev = bus->self; struct pci_dev *dev = bus->self;
int i; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册