]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mailbox: Export mbox_flush()
authorThierry Reding <treding@nvidia.com>
Mon, 4 Feb 2019 14:07:06 +0000 (15:07 +0100)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 18 Feb 2019 16:39:17 +0000 (10:39 -0600)
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@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mailbox.c

index c6a7d4582dc6790be3a50f545faa36bc07ea8a7f..38d9df3fb199fed88a4825b7b392e20c27e85c2a 100644 (file)
@@ -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.