diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-19 21:59:32 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-03-28 13:55:34 +0800 |
commit | 2ff9dff5aadf69e5051a1807780c2983eef4c646 (patch) | |
tree | ad166563a3432b22efddba6efbc73e61843a7035 | |
parent | 78ea86da5a64e6ec7cfcbee2c5f1fc32cf1866ac (diff) | |
download | linux-2ff9dff5aadf69e5051a1807780c2983eef4c646.tar.gz linux-2ff9dff5aadf69e5051a1807780c2983eef4c646.tar.bz2 linux-2ff9dff5aadf69e5051a1807780c2983eef4c646.zip |
crypto: cavium - Make cptvf_device_init static
Fix sparse warning:
drivers/crypto/cavium/cpt/cptvf_main.c:644:6:
warning: symbol 'cptvf_device_init' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/cavium/cpt/cptvf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/cavium/cpt/cptvf_main.c b/drivers/crypto/cavium/cpt/cptvf_main.c index 2ca431ed1db8..88a0166f5477 100644 --- a/drivers/crypto/cavium/cpt/cptvf_main.c +++ b/drivers/crypto/cavium/cpt/cptvf_main.c @@ -641,7 +641,7 @@ static void cptvf_write_vq_saddr(struct cpt_vf *cptvf, u64 val) cpt_write_csr64(cptvf->reg_base, CPTX_VQX_SADDR(0, 0), vqx_saddr.u); } -void cptvf_device_init(struct cpt_vf *cptvf) +static void cptvf_device_init(struct cpt_vf *cptvf) { u64 base_addr = 0; |