summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-02-14 13:08:21 -0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-17 04:07:52 +0800
commit029c053c447d6c3e7326f8dd4c2cc6fe43b369d3 (patch)
tree625a91eba643da47c61ad9ea7966c986e3570baa /drivers/crypto
parent26d52ea39b89a505aa84d7a3513c4c2eae8a67e0 (diff)
downloadblackbird-op-linux-029c053c447d6c3e7326f8dd4c2cc6fe43b369d3.tar.gz
blackbird-op-linux-029c053c447d6c3e7326f8dd4c2cc6fe43b369d3.zip
crypto: caam - Staticize caam_jr_shutdown()
caam_jr_shutdown() is only used in this file, so it can be made static. This avoids the following sparse warning: drivers/crypto/caam/jr.c:68:5: warning: symbol 'caam_jr_shutdown' was not declared. Should it be static? Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/caam/jr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/jr.c b/drivers/crypto/caam/jr.c
index f7e0d8d4c3da..6fd63a600614 100644
--- a/drivers/crypto/caam/jr.c
+++ b/drivers/crypto/caam/jr.c
@@ -65,7 +65,7 @@ static int caam_reset_hw_jr(struct device *dev)
/*
* Shutdown JobR independent of platform property code
*/
-int caam_jr_shutdown(struct device *dev)
+static int caam_jr_shutdown(struct device *dev)
{
struct caam_drv_private_jr *jrp = dev_get_drvdata(dev);
dma_addr_t inpbusaddr, outbusaddr;
OpenPOWER on IntegriCloud