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>
This commit is contained in:
Al Viro 2008-11-26 01:07:13 -08:00 committed by David S. Miller
parent 64273d08df
commit 3a29db3222

View File

@ -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];