]> git.karo-electronics.de Git - linux-beck.git/commitdiff
crypto: caam - Staticize caam_jr_shutdown()
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 14 Feb 2016 15:08:21 +0000 (13:08 -0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Feb 2016 20:07:52 +0000 (04:07 +0800)
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>
drivers/crypto/caam/jr.c

index f7e0d8d4c3da12cebdfb1df13822eb86da081307..6fd63a600614e39f4893634eda28792f64fedda4 100644 (file)
@@ -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;