diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-11-26 01:07:13 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 09:17:08 -0800 |
commit | 3a29db32220387cd66e4d02c907c8949c28c5ecb (patch) | |
tree | fb3bd109588b3a50a3b9b79ed0bcbf762d6f4e27 /arch/sparc/kernel/pcic.c | |
parent | 64273d08dfb41549df3cd815baaaff781cd99992 (diff) | |
download | kernel_goldelico_gta04-3a29db32220387cd66e4d02c907c8949c28c5ecb.zip kernel_goldelico_gta04-3a29db32220387cd66e4d02c907c8949c28c5ecb.tar.gz kernel_goldelico_gta04-3a29db32220387cd66e4d02c907c8949c28c5ecb.tar.bz2 |
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 462584e..75ed98b 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]; |