summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-06-24 23:10:30 +0300
committerMark Brown <broonie@kernel.org>2024-06-24 23:25:57 +0300
commit7e74a45c7afdd8a9f82d14fd79ae0383bbaaed1e (patch)
tree4b892dd090f65539ef085cd71c2a71370cc2cfd3 /drivers/spi
parentd4a0055fdc22381fa256e345095e88d134e354c5 (diff)
downloadlinux-7e74a45c7afdd8a9f82d14fd79ae0383bbaaed1e.tar.xz
spi: add EXPORT_SYMBOL_GPL(devm_spi_optimize_message)
devm_spi_optimize_message() is a public function and needs EXPORT_SYMBOL_GPL. Reported-by: Jonathan Cameron <jic23@kernel.org> Closes: https://lore.kernel.org/linux-iio/20240624204424.6a91a5e4@jic23-huawei/ Fixes: d4a0055fdc22 ("spi: add devm_spi_optimize_message() helper") Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20240624-devm_spi_optimize_message-v2-1-58155c0180c2@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 32d2a4f3dfca..93f59ebb5b79 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -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