diff options
Diffstat (limited to 'arch/sparc64/prom/init.c')
-rw-r--r-- | arch/sparc64/prom/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/prom/init.c b/arch/sparc64/prom/init.c index 817faae058cd..8b4b622d0909 100644 --- a/arch/sparc64/prom/init.c +++ b/arch/sparc64/prom/init.c | |||
@@ -46,7 +46,7 @@ void __init prom_init(void *cif_handler, void *cif_stack) | |||
46 | if((prom_root_node == 0) || (prom_root_node == -1)) | 46 | if((prom_root_node == 0) || (prom_root_node == -1)) |
47 | prom_halt(); | 47 | prom_halt(); |
48 | 48 | ||
49 | prom_chosen_node = prom_finddevice("/chosen"); | 49 | prom_chosen_node = prom_finddevice(prom_chosen_path); |
50 | if (!prom_chosen_node || prom_chosen_node == -1) | 50 | if (!prom_chosen_node || prom_chosen_node == -1) |
51 | prom_halt(); | 51 | prom_halt(); |
52 | 52 | ||