diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2018-09-25 12:42:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-28 01:36:03 +0300 |
commit | 5f143af7501e7c435c56e181a655493edaa92509 (patch) | |
tree | 8f46955879e9a026fc3740cdbd734bb9025feaba /Documentation/PCI | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | linux-5f143af7501e7c435c56e181a655493edaa92509.tar.xz |
spi: make OF helper available for others
The of_find_spi_device_by_node() helper function is useful for other
modules too. Export the funciton as GPL like all other spi helper
functions and make it available if CONFIG_OF is enabled, because it isn't
related to the CONFIG_OF_DYNAMIC context. Finally add a stub if
CONFIG_OF isn't enabled, so others must not care about it.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/PCI')
0 files changed, 0 insertions, 0 deletions