From beeea6d6a1f9c39fbda3abdd2c528ba90422e4bf Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Fri, 20 Jul 2007 13:14:07 +0900 Subject: sh64: Fix up PCI section mismatch warnings. pcibios_fixup_bus() and pcibios_setup() should be __devinit. Signed-off-by: Paul Mundt --- arch/sh64/kernel/pci_sh5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/sh64') diff --git a/arch/sh64/kernel/pci_sh5.c b/arch/sh64/kernel/pci_sh5.c index 3334f99b5835..388bb711f1b0 100644 --- a/arch/sh64/kernel/pci_sh5.c +++ b/arch/sh64/kernel/pci_sh5.c @@ -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); -char * __init pcibios_setup(char *str) +char * __devinit pcibios_setup(char *str) { return str; } @@ -497,7 +497,7 @@ static int __init pcibios_init(void) 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; int i; -- cgit v1.2.3