aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/fdt.c')
-rw-r--r--drivers/of/fdt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index c1360e02f921..2ebacf14e7de 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -27,6 +27,8 @@ int __initdata dt_root_size_cells;
27 27
28struct boot_param_header *initial_boot_params; 28struct boot_param_header *initial_boot_params;
29 29
30#ifdef CONFIG_OF_EARLY_FLATTREE
31
30char *find_flat_dt_string(u32 offset) 32char *find_flat_dt_string(u32 offset)
31{ 33{
32 return ((char *)initial_boot_params) + 34 return ((char *)initial_boot_params) +
@@ -604,3 +606,5 @@ void __init unflatten_device_tree(void)
604 606
605 pr_debug(" <- unflatten_device_tree()\n"); 607 pr_debug(" <- unflatten_device_tree()\n");
606} 608}
609
610#endif /* CONFIG_OF_EARLY_FLATTREE */