of: overlay: Fix of_overlay_fdt_apply prototype when !CONFIG_OF_OVERLAY
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 4 Sep 2023 10:00:02 +0000 (12:00 +0200)
committerRob Herring <robh@kernel.org>
Tue, 5 Sep 2023 18:02:13 +0000 (13:02 -0500)
commitcf60ce92358da29f3b1e24005f7b748584b82753
treeed2a70d42b11f46802b6f2afff6ae60ac34c0e5a
parent75cc186739805a5e8abe133be04692b36e7a5257
of: overlay: Fix of_overlay_fdt_apply prototype when !CONFIG_OF_OVERLAY

The of_overlay_fdt_apply has been changed but when CONFIG_OF_OVERLAY
support is not configured then old stub prototype is declared
by of.h header.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Fixes: 47284862bfc7 ("of: overlay: Extend of_overlay_fdt_apply() to specify the target node")
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://lore.kernel.org/r/20230904100002.7913-1-pisa@cmp.felk.cvut.cz
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of.h