diff options
-rw-r--r-- | drivers/of/fdt.c | 2 | ||||
-rw-r--r-- | drivers/of/pdt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 808be06bb67e..6bb7cf2de556 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c | |||
@@ -709,7 +709,7 @@ void __init unflatten_device_tree(void) | |||
709 | __unflatten_device_tree(initial_boot_params, &of_allnodes, | 709 | __unflatten_device_tree(initial_boot_params, &of_allnodes, |
710 | early_init_dt_alloc_memory_arch); | 710 | early_init_dt_alloc_memory_arch); |
711 | 711 | ||
712 | /* Get pointer to "/chosen" and "/aliasas" nodes for use everywhere */ | 712 | /* Get pointer to "/chosen" and "/aliases" nodes for use everywhere */ |
713 | of_alias_scan(early_init_dt_alloc_memory_arch); | 713 | of_alias_scan(early_init_dt_alloc_memory_arch); |
714 | } | 714 | } |
715 | 715 | ||
diff --git a/drivers/of/pdt.c b/drivers/of/pdt.c index 37b56fd716e6..4ec19cbee57f 100644 --- a/drivers/of/pdt.c +++ b/drivers/of/pdt.c | |||
@@ -251,6 +251,6 @@ void __init of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops) | |||
251 | of_allnodes->child = of_pdt_build_tree(of_allnodes, | 251 | of_allnodes->child = of_pdt_build_tree(of_allnodes, |
252 | of_pdt_prom_ops->getchild(of_allnodes->phandle), &nextp); | 252 | of_pdt_prom_ops->getchild(of_allnodes->phandle), &nextp); |
253 | 253 | ||
254 | /* Get pointer to "/chosen" and "/aliasas" nodes for use everywhere */ | 254 | /* Get pointer to "/chosen" and "/aliases" nodes for use everywhere */ |
255 | of_alias_scan(kernel_tree_alloc); | 255 | of_alias_scan(kernel_tree_alloc); |
256 | } | 256 | } |