diff options
| author | Giulio Benetti <[email protected]> | 2023-04-06 18:17:13 +0200 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2023-07-11 14:40:02 +0200 |
| commit | 04e08e3c549d065bd49e3d5c23a944a4e0da0a0a (patch) | |
| tree | a7277592faffaee8170536defcb20bdf95fb9dca | |
| parent | ce38c6432ba02794dcbd4851d380a9a1fb5b4bdd (diff) | |
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 <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
| -rw-r--r-- | arch/arm/mach-imx/mx6/module_fuse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mx6/module_fuse.c b/arch/arm/mach-imx/mx6/module_fuse.c index 0f4565e3117..b58f11c1e56 100644 --- a/arch/arm/mach-imx/mx6/module_fuse.c +++ b/arch/arm/mach-imx/mx6/module_fuse.c @@ -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) { |
