Re: [PATCH] of: Move of_skipped_node_table within #ifdef CONFIG_OF_ADDRESS

From: Rob Herring
Date: Tue Aug 22 2023 - 13:52:50 EST



On Tue, 22 Aug 2023 13:27:22 +0530, Viresh Kumar wrote:
> The `struct of_skipped_node_table` is used only when CONFIG_OF_ADDRESS
> is defined, move it within the #ifdef/#endif to avoid warnings on
> configurations where CONFIG_OF_ADDRESS isn't defined.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202308212037.YopffWSU-lkp@xxxxxxxxx/
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> drivers/of/platform.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>

Applied, thanks!