[PATCH 3/4] of: add of_get_reserve_map stub for !CONFIG_OFTREE
Sascha Hauer
sha at pengutronix.de
Thu Jun 9 02:14:15 PDT 2022
On Thu, Jun 09, 2022 at 07:43:41AM +0200, Ahmad Fatoum wrote:
> From: Rouven Czerwinski <r.czerwinski at pengutronix.de>
>
> This allows us to unconditionally include of.h in files which did not
> require CONFIG_OFTREE, required for the MMU code in later patches.
>
> Signed-off-by: Rouven Czerwinski <r.czerwinski at pengutronix.de>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> Compared with Rouven's v2, give extern declaration an extern
> in front like functions around it. Move static inline stub
> to top of #else for symmetry.
> ---
> include/of.h | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Applied this patch only.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list