diff options
author | Rob Herring <robh@kernel.org> | 2022-01-12 17:14:09 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-01-12 17:14:09 +0100 |
commit | e623611b4d3f722b57ceeaf4368ac787837408e7 (patch) | |
tree | dfcea1c4db3f59b8d084f4ddc24dda6e6180e460 /include | |
parent | dt-bindings: net: mdio: Drop resets/reset-names child properties (diff) | |
parent | efi: apply memblock cap after memblock_add() (diff) | |
download | linux-e623611b4d3f722b57ceeaf4368ac787837408e7.tar.xz linux-e623611b4d3f722b57ceeaf4368ac787837408e7.zip |
Merge branch 'dt/linus' into dt/next
Pick a fix which didn't make it into v5.16.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_fdt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index 914739f3c192..d69ad5bb1eb1 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h @@ -60,6 +60,7 @@ extern uint32_t of_get_flat_dt_phandle(unsigned long node); extern int early_init_dt_scan_chosen(char *cmdline); extern int early_init_dt_scan_memory(void); +extern void early_init_dt_check_for_usable_mem_range(void); extern int early_init_dt_scan_chosen_stdout(void); extern void early_init_fdt_scan_reserved_mem(void); extern void early_init_fdt_reserve_self(void); @@ -83,6 +84,7 @@ extern void unflatten_and_copy_device_tree(void); extern void early_init_devtree(void *); extern void early_get_first_memblock_info(void *, phys_addr_t *); #else /* CONFIG_OF_EARLY_FLATTREE */ +static inline void early_init_dt_check_for_usable_mem_range(void) {} static inline int early_init_dt_scan_chosen_stdout(void) { return -ENODEV; } static inline void early_init_fdt_scan_reserved_mem(void) {} static inline void early_init_fdt_reserve_self(void) {} |