Commit 7e74a45c authored by David Lechner's avatar David Lechner Committed by Mark Brown

spi: add EXPORT_SYMBOL_GPL(devm_spi_optimize_message)

devm_spi_optimize_message() is a public function and needs
EXPORT_SYMBOL_GPL.
Reported-by: default avatarJonathan Cameron <jic23@kernel.org>
Closes: https://lore.kernel.org/linux-iio/20240624204424.6a91a5e4@jic23-huawei/
Fixes: d4a0055f ("spi: add devm_spi_optimize_message() helper")
Signed-off-by: default avatarDavid Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20240624-devm_spi_optimize_message-v2-1-58155c0180c2@baylibre.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent d4a0055f
......@@ -4404,6 +4404,7 @@ int devm_spi_optimize_message(struct device *dev, struct spi_device *spi,
return devm_add_action_or_reset(dev, devm_spi_unoptimize_message, msg);
}
EXPORT_SYMBOL_GPL(devm_spi_optimize_message);
/**
* spi_async - asynchronous SPI transfer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment