summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/pcic.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-11-26 10:07:13 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-04 18:17:08 +0100
commit3a29db32220387cd66e4d02c907c8949c28c5ecb (patch)
treefb3bd109588b3a50a3b9b79ed0bcbf762d6f4e27 /arch/sparc/kernel/pcic.c
parentsparc32: Don't btfixup cache flush ops for viking multiple times. (diff)
downloadlinux-3a29db32220387cd66e4d02c907c8949c28c5ecb.tar.xz
linux-3a29db32220387cd66e4d02c907c8949c28c5ecb.zip
sparc32: pdev_to_pnode() is used from __devinit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/pcic.c')
-rw-r--r--arch/sparc/kernel/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c
index 462584e55fba..75ed98be3edf 100644
--- a/arch/sparc/kernel/pcic.c
+++ b/arch/sparc/kernel/pcic.c
@@ -436,7 +436,7 @@ int pcic_present(void)
return pcic0_up;
}
-static int __init pdev_to_pnode(struct linux_pbm_info *pbm,
+static int __devinit pdev_to_pnode(struct linux_pbm_info *pbm,
struct pci_dev *pdev)
{
struct linux_prom_pci_registers regs[PROMREG_MAX];