Re: [PATCH v2] of: Hide of_default_bus_match_table[]

From: Rob Herring
Date: Mon Dec 09 2024 - 15:40:05 EST


On Wed, Dec 04, 2024 at 11:48:05AM -0800, Stephen Boyd wrote:
> This isn't used outside this file. Hide the array in the C file.
>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
> ---
>
> Changes from v1 https://lore.kernel.org/r/20241204000415.2404264-1-swboyd@xxxxxxxxxxxx
> * Move of_default_bus_match_table into function so it isn't unused in
> different configs
>
> drivers/of/platform.c | 23 +++++++++++------------
> include/linux/of_platform.h | 2 --
> 2 files changed, 11 insertions(+), 14 deletions(-)

Applied, thanks.

Rob