diff mbox series

[v2,1/2] spi: add EXPORT_SYMBOL_GPL(devm_spi_optimize_message)

Message ID 20240624-devm_spi_optimize_message-v2-1-58155c0180c2@baylibre.com
State Superseded
Headers show
Series spi: add devm_spi_optimize_message() helper | expand

Commit Message

David Lechner June 24, 2024, 8:10 p.m. UTC
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: 17436001a6bc ("spi: add devm_spi_optimize_message() helper")
Signed-off-by: David Lechner <dlechner@baylibre.com>
---
 drivers/spi/spi.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown June 24, 2024, 8:19 p.m. UTC | #1
On Mon, Jun 24, 2024 at 03:10:30PM -0500, David Lechner wrote:

> Fixes: 17436001a6bc ("spi: add devm_spi_optimize_message() helper")

That's the merge commit for the branch, not the affected commit.
diff mbox series

Patch

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 3f953504244b..814d66fc9753 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -4384,6 +4384,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