summaryrefslogtreecommitdiff
path: root/arch/sh/drivers/pci/ops-sh4.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-07-20 08:22:47 +0400
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 08:22:47 +0400
commitbd5f0d1c256fdf286fab358a04e87476e3535075 (patch)
tree46dc41eed8618d2a3a9717830b5e165ddea17553 /arch/sh/drivers/pci/ops-sh4.c
parent0c99adb0a6dfe292842a8142b48e494d7731f5fe (diff)
downloadlinux-bd5f0d1c256fdf286fab358a04e87476e3535075.tar.xz
sh: Fix up PCI section mismatch warnings.
Flag pcibios_setup() and pcibios_fixup_bus() as __devinit. Follows the sh64 change. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/pci/ops-sh4.c')
-rw-r--r--arch/sh/drivers/pci/ops-sh4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/pci/ops-sh4.c b/arch/sh/drivers/pci/ops-sh4.c
index 54232f13e406..710a3b0306e5 100644
--- a/arch/sh/drivers/pci/ops-sh4.c
+++ b/arch/sh/drivers/pci/ops-sh4.c
@@ -153,7 +153,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)
{
if (!strcmp(str, "off")) {
pci_probe = 0;