From: Al Viro Date: Wed, 26 Nov 2008 09:07:13 +0000 (-0800) Subject: sparc32: pdev_to_pnode() is used from __devinit X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3a29db32220387cd66e4d02c907c8949c28c5ecb;p=linux-beck.git sparc32: pdev_to_pnode() is used from __devinit Signed-off-by: Al Viro Signed-off-by: David S. Miller --- 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];