Re: [PATCH v8 3/5] of/platform: Add stubs for of_platform_device_create/destroy()

From: Rob Herring
Date: Fri Apr 30 2021 - 15:55:18 EST


On Wed, 28 Apr 2021 11:41:30 -0700, Matthias Kaehlcke wrote:
> Code for platform_device_create() and of_platform_device_destroy() is
> only generated if CONFIG_OF_ADDRESS=y. Add stubs to avoid unresolved
> symbols when CONFIG_OF_ADDRESS is not set.
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
> ---
>
> Changes in v8:
> - fixed C&P error in commit message
>
> Changes in v7:
> - none
>
> Changes in v6:
> - patch added to the series
>
> include/linux/of_platform.h | 22 ++++++++++++++++++----
> 1 file changed, 18 insertions(+), 4 deletions(-)
>

Acked-by: Rob Herring <robh@xxxxxxxxxx>