mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
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>
This commit is contained in:
parent
26d52ea39b
commit
029c053c44
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ static int caam_reset_hw_jr(struct device *dev)
|
||||||
/*
|
/*
|
||||||
* Shutdown JobR independent of platform property code
|
* 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);
|
struct caam_drv_private_jr *jrp = dev_get_drvdata(dev);
|
||||||
dma_addr_t inpbusaddr, outbusaddr;
|
dma_addr_t inpbusaddr, outbusaddr;
|
||||||
|
|
Loading…
Reference in a new issue