diff options
Diffstat (limited to 'arch/sparc/kernel/pcic.c')
-rw-r--r-- | arch/sparc/kernel/pcic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index d36a8d391ca0..aeaa09a3c655 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c | |||
@@ -284,7 +284,7 @@ int __init pcic_probe(void) | |||
284 | struct linux_prom_registers regs[PROMREG_MAX]; | 284 | struct linux_prom_registers regs[PROMREG_MAX]; |
285 | struct linux_pbm_info* pbm; | 285 | struct linux_pbm_info* pbm; |
286 | char namebuf[64]; | 286 | char namebuf[64]; |
287 | int node; | 287 | phandle node; |
288 | int err; | 288 | int err; |
289 | 289 | ||
290 | if (pcic0_up) { | 290 | if (pcic0_up) { |
@@ -440,7 +440,7 @@ static int __devinit pdev_to_pnode(struct linux_pbm_info *pbm, | |||
440 | { | 440 | { |
441 | struct linux_prom_pci_registers regs[PROMREG_MAX]; | 441 | struct linux_prom_pci_registers regs[PROMREG_MAX]; |
442 | int err; | 442 | int err; |
443 | int node = prom_getchild(pbm->prom_node); | 443 | phandle node = prom_getchild(pbm->prom_node); |
444 | 444 | ||
445 | while(node) { | 445 | while(node) { |
446 | err = prom_getproperty(node, "reg", | 446 | err = prom_getproperty(node, "reg", |