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

2021-04-08 Thread Matthias Kaehlcke
On Thu, Apr 08, 2021 at 10:21:12AM -0500, Rob Herring wrote: > On Mon, Apr 05, 2021 at 01:18:15PM -0700, Matthias Kaehlcke wrote: > > Code for platform_device_create() and of_platform_device_create() is > > platform_device_create()? ack, should be of_platform_device_destroy() > > only generated

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

2021-04-08 Thread Rob Herring
On Mon, Apr 05, 2021 at 01:18:15PM -0700, Matthias Kaehlcke wrote: > Code for platform_device_create() and of_platform_device_create() is platform_device_create()? > only generated if CONFIG_OF_ADDRESS=y. Add stubs to avoid unresolved > symbols when CONFIG_OF_ADDRESS is not set. > > Signed-off-b

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

2021-04-05 Thread Matthias Kaehlcke
Code for platform_device_create() and of_platform_device_create() 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 --- Changes in v7: - none Changes in v6: - patch added to the series include/li

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

2021-03-09 Thread Matthias Kaehlcke
On Mon, Mar 08, 2021 at 03:32:51PM -0700, Rob Herring wrote: > On Fri, Mar 05, 2021 at 11:38:51AM -0800, Matthias Kaehlcke wrote: > > Code for platform_device_create() and of_platform_device_create() is > > You mean of_platform_device_create and of_platform_device_destroy? > > Does of_platform_po

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

2021-03-08 Thread Rob Herring
On Fri, Mar 05, 2021 at 11:38:51AM -0800, Matthias Kaehlcke wrote: > Code for platform_device_create() and of_platform_device_create() is You mean of_platform_device_create and of_platform_device_destroy? Does of_platform_populate not work in your usecase? > only generated if CONFIG_OF_ADDRESS=y

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

2021-03-05 Thread Matthias Kaehlcke
Code for platform_device_create() and of_platform_device_create() 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 --- Changes in v6: - patch added to the series include/linux/of_platform.h | 22