diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2022-02-17 21:42:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-26 15:01:12 +0300 |
commit | 8e8b11956486e3fe8cacf54a1d492ebdd8cc1fb2 (patch) | |
tree | 22731a44df91f00a92c6edd5fb56191e3530e6e1 /include/linux/usb | |
parent | fc274c1e997314bf47f6a62c79b5d7e554ed59c4 (diff) | |
download | linux-8e8b11956486e3fe8cacf54a1d492ebdd8cc1fb2.tar.xz |
of/platform: Add stubs for of_platform_device_create/destroy()
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.
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lore.kernel.org/r/20220217104219.v21.1.I08fd2e1c775af04f663730e9fb4d00e6bbb38541@changeid
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions