projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78ea86d
)
crypto: cavium - Make cptvf_device_init static
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 19 Mar 2019 13:59:32 +0000
(21:59 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 28 Mar 2019 05:55:34 +0000
(13:55 +0800)
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>
drivers/crypto/cavium/cpt/cptvf_main.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/cavium/cpt/cptvf_main.c
b/drivers/crypto/cavium/cpt/cptvf_main.c
index 2ca431ed1db8503118a627a64c97926f2eda165b..88a0166f54776836b9207bc2f8e6ee3a730e1617 100644
(file)
--- 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;