mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
arm: mx6: module_fuse: fix build failure due to wrong argument name
nodeoff variable should be variable off returned by fdt_path_offset() so let's rename it to off. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
This commit is contained in:
committed by
Stefano Babic
parent
ce38c6432b
commit
04e08e3c54
@@ -206,7 +206,7 @@ int ft_system_setup(void *blob, struct bd_info *bd)
|
||||
if (off < 0)
|
||||
continue; /* Not found, skip it */
|
||||
add_status:
|
||||
rc = fdt_setprop(blob, nodeoff, "status", status,
|
||||
rc = fdt_setprop(blob, off, "status", status,
|
||||
strlen(status) + 1);
|
||||
if (rc) {
|
||||
if (rc == -FDT_ERR_NOSPACE) {
|
||||
|
||||
Reference in New Issue
Block a user