crypto: caam - Staticize caam_jr_shutdown()
PATCH 1/1 crypto: caam - Staticize caam_jr_shutdown()
From: Fabio Estevam <[email protected]>
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 <[email protected]>
--- drivers/crypto/caam/jr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/caam/jr.c +1 -1
@@ -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;
Signature · 1 line
1.9.1
Quoted 10 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
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 <[email protected]>
Applied.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt