diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boards/highbank/init.c | 2 | ||||
-rw-r--r-- | arch/arm/cpu/dtb.c | 2 | ||||
-rw-r--r-- | arch/arm/lib/bootm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boards/highbank/init.c b/arch/arm/boards/highbank/init.c index d5d341a8ba..7b4f9637df 100644 --- a/arch/arm/boards/highbank/init.c +++ b/arch/arm/boards/highbank/init.c @@ -76,7 +76,7 @@ static int highbank_mem_init(void) /* load by the firmware at 0x1000 */ fdt = IOMEM(FIRMWARE_DTB_BASE); - root = of_unflatten_dtb(NULL, fdt); + root = of_unflatten_dtb(fdt); if (!root) { pr_warn("no dtb found at 0x1000 use default configuration\n"); fdt = NULL; diff --git a/arch/arm/cpu/dtb.c b/arch/arm/cpu/dtb.c index a5881dd721..abc3ccb4c0 100644 --- a/arch/arm/cpu/dtb.c +++ b/arch/arm/cpu/dtb.c @@ -47,7 +47,7 @@ static int of_arm_init(void) return 0; } - root = of_unflatten_dtb(NULL, fdt); + root = of_unflatten_dtb(fdt); if (root) { of_set_root_node(root); if (IS_ENABLED(CONFIG_OFDEVICE)) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index 8035468279..1d690522de 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -215,7 +215,7 @@ static int do_bootz_linux_fdt(int fd, struct image_data *data) } if (IS_BUILTIN(CONFIG_OFTREE)) { - data->of_root_node = of_unflatten_dtb(NULL, oftree); + data->of_root_node = of_unflatten_dtb(oftree); if (!data->of_root_node) { pr_err("unable to unflatten devicetree\n"); ret = -EINVAL; |