diff options
Diffstat (limited to 'arch/sparc/kernel/setup_64.c')
-rw-r--r-- | arch/sparc/kernel/setup_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/setup_64.c b/arch/sparc/kernel/setup_64.c index 5f72de67588..29bafe051bb 100644 --- a/arch/sparc/kernel/setup_64.c +++ b/arch/sparc/kernel/setup_64.c | |||
@@ -315,7 +315,7 @@ void __init setup_arch(char **cmdline_p) | |||
315 | 315 | ||
316 | #ifdef CONFIG_IP_PNP | 316 | #ifdef CONFIG_IP_PNP |
317 | if (!ic_set_manually) { | 317 | if (!ic_set_manually) { |
318 | int chosen = prom_finddevice ("/chosen"); | 318 | phandle chosen = prom_finddevice("/chosen"); |
319 | u32 cl, sv, gw; | 319 | u32 cl, sv, gw; |
320 | 320 | ||
321 | cl = prom_getintdefault (chosen, "client-ip", 0); | 321 | cl = prom_getintdefault (chosen, "client-ip", 0); |