forked from Mirrors/opensbi
lib: utils/fdt: Constify FDT parsing functions
Distinguish between functions which modify the devicetree and those which only extract information from it. Other than the iterators in fdt_domain.c, this is a mechanical conversion. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
f229a32828
commit
33ba4e0567
@@ -56,7 +56,7 @@ int fdt_pmu_fixup(void *fdt)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int fdt_pmu_setup(void *fdt)
|
||||
int fdt_pmu_setup(const void *fdt)
|
||||
{
|
||||
int i, pmu_offset, len, result;
|
||||
const u32 *event_val;
|
||||
|
Reference in New Issue
Block a user