Skip to content

Commit

Permalink
sh64: Fix up PCI section mismatch warnings.
Browse files Browse the repository at this point in the history
pcibios_fixup_bus() and pcibios_setup() should be __devinit.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jul 20, 2007
1 parent 207a130 commit beeea6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sh64/kernel/pci_sh5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit beeea6d

Please sign in to comment.