[PATCH] mailbox: Export mbox_flush()

From: Thierry Reding
Date: Mon Feb 04 2019 - 09:07:12 EST


From: Thierry Reding <treding@xxxxxxxxxx>

The mbox_flush() function can be used by drivers that are built as
modules, so the function needs to be exported.

Reported-by: Mark Brown <broonie@xxxxxxxxxx>
Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
drivers/mailbox/mailbox.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c
index c6a7d4582dc6..38d9df3fb199 100644
--- a/drivers/mailbox/mailbox.c
+++ b/drivers/mailbox/mailbox.c
@@ -310,6 +310,7 @@ int mbox_flush(struct mbox_chan *chan, unsigned long timeout)

return ret;
}
+EXPORT_SYMBOL_GPL(mbox_flush);

/**
* mbox_request_channel - Request a mailbox channel.
--
2.19.1