]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/fdt_support.c
fdt: Update fdt_get_base_address() to use const
[people/ms/u-boot.git] / common / fdt_support.c
index c6a76b7ad299f365d08542ed7f583f8f1f2720ea..c63b27bbb6442f4b4cbd762aeea836c1a5d415f5 100644 (file)
@@ -1539,7 +1539,7 @@ int fdt_verify_alias_address(void *fdt, int anode, const char *alias, u64 addr)
 /*
  * Returns the base address of an SOC or PCI node
  */
-u64 fdt_get_base_address(void *fdt, int node)
+u64 fdt_get_base_address(const void *fdt, int node)
 {
        int size;
        u32 naddr;