Re: [PATCH] of: base: Add of_get_next_child_with_prefix() stub

From: Rob Herring (Arm)

Date: Fri Sep 26 2025 - 15:50:56 EST



On Thu, 25 Sep 2025 14:56:30 -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
>
> 1fcc67e3a354 ("of: base: Add for_each_child_of_node_with_prefix()") added
> of_get_next_child_with_prefix() but did not add a stub for the !CONFIG_OF
> case.
>
> Add a of_get_next_child_with_prefix() stub so users of
> for_each_child_of_node_with_prefix() can be built for compile testing even
> when !CONFIG_OF.
>
> Fixes: 1fcc67e3a354 ("of: base: Add for_each_child_of_node_with_prefix()")
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> ---
> include/linux/of.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>

Applied, thanks!