diff options
author | Simon Glass | 2017-05-18 20:09:00 -0600 |
---|---|---|
committer | Simon Glass | 2017-06-01 07:03:07 -0600 |
commit | ec002119cf30a7e7ef721071d890a0d8248232da (patch) | |
tree | 21749c36ec0745bb066d080b07ca3585d77496f7 /include/fdt_support.h | |
parent | 38d21b418dd2207c89cdbdd6f38f7ee512c47da1 (diff) |
fdt: Update fdt_get_base_address() to use const
This function does not change the device tree so adjust it to use const
for this parameter.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r-- | include/fdt_support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h index 955c1217133..6fea5c7da0c 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -207,7 +207,7 @@ int fdt_add_edid(void *blob, const char *compat, unsigned char *buf); int fdt_verify_alias_address(void *fdt, int anode, const char *alias, u64 addr); -u64 fdt_get_base_address(void *fdt, int node); +u64 fdt_get_base_address(const void *fdt, int node); int fdt_read_range(void *fdt, int node, int n, uint64_t *child_addr, uint64_t *addr, uint64_t *len); |