diff options
| author | Samuel Holland <[email protected]> | 2024-07-30 21:58:47 -0700 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-08-24 13:02:33 +0530 |
| commit | d561418f22f28b1eaedd5a51c338099c359743cf (patch) | |
| tree | 5a6ea657c08cd39281273e664a9dae9ddef04d46 /include | |
| parent | 039e810437d3fbf96505454cce17c8f90e51996d (diff) | |
lib: utils/ipi: Constify FDT pointers in parsing functions
Indicate that none of these functions modify the devicetree by
constifying the parameter type.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi_utils/ipi/fdt_ipi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi_utils/ipi/fdt_ipi.h b/include/sbi_utils/ipi/fdt_ipi.h index 1dd9062d..c6245201 100644 --- a/include/sbi_utils/ipi/fdt_ipi.h +++ b/include/sbi_utils/ipi/fdt_ipi.h @@ -16,7 +16,7 @@ struct fdt_ipi { const struct fdt_match *match_table; - int (*cold_init)(void *fdt, int nodeoff, const struct fdt_match *match); + int (*cold_init)(const void *fdt, int nodeoff, const struct fdt_match *match); int (*warm_init)(void); void (*exit)(void); }; |
