diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-11-26 04:07:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 12:17:08 -0500 |
commit | 3a29db32220387cd66e4d02c907c8949c28c5ecb (patch) | |
tree | fb3bd109588b3a50a3b9b79ed0bcbf762d6f4e27 /arch/sparc/kernel/pcic.c | |
parent | 64273d08dfb41549df3cd815baaaff781cd99992 (diff) |
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.c | 2 |
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) | |||
436 | return pcic0_up; | 436 | return pcic0_up; |
437 | } | 437 | } |
438 | 438 | ||
439 | static int __init pdev_to_pnode(struct linux_pbm_info *pbm, | 439 | static int __devinit pdev_to_pnode(struct linux_pbm_info *pbm, |
440 | struct pci_dev *pdev) | 440 | struct pci_dev *pdev) |
441 | { | 441 | { |
442 | struct linux_prom_pci_registers regs[PROMREG_MAX]; | 442 | struct linux_prom_pci_registers regs[PROMREG_MAX]; |