sparc32: pdev_to_pnode() is used from __devinit
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 26 Nov 2008 09:07:13 +0000 (01:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:17:08 +0000 (09:17 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pcic.c

index 462584e55fba13bff47a39ab03ca533b8797cd05..75ed98be3edfe21bf08bb4eb2d9a39a7fca87945 100644 (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];