diff mbox series

[RFC] crypto: dpaa2_caam_iova_to_virt() can be static

Message ID 20180911052007.GA10279@ivb42 (mailing list archive)
State New, archived
Headers show
Series [RFC] crypto: dpaa2_caam_iova_to_virt() can be static | expand

Commit Message

Fengguang Wu Sept. 11, 2018, 5:20 a.m. UTC
Fixes: 10c08052347f ("crypto: caam/qi2 - add DPAA2-CAAM driver")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 caamalg_qi2.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/crypto/caam/caamalg_qi2.c b/drivers/crypto/caam/caamalg_qi2.c
index e883386..af8d890 100644
--- a/drivers/crypto/caam/caamalg_qi2.c
+++ b/drivers/crypto/caam/caamalg_qi2.c
@@ -80,8 +80,8 @@  struct caam_ctx {
 	unsigned int authsize;
 };
 
-void *dpaa2_caam_iova_to_virt(struct dpaa2_caam_priv *priv,
-			      dma_addr_t iova_addr)
+static void *dpaa2_caam_iova_to_virt(struct dpaa2_caam_priv *priv,
+				     dma_addr_t iova_addr)
 {
 	phys_addr_t phys_addr;