summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp/ccp-dev-v3.c
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2016-09-28 18:53:47 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-10-02 16:33:44 +0200
commit9ddb9dc6be095ebe393f7eb582df09cc4847c5e9 (patch)
treec37ab2aa50e99c2c3a0a607b3af0c0c0855937fa /drivers/crypto/ccp/ccp-dev-v3.c
parentcrypto: vmx - Ensure ghash-generic is enabled (diff)
downloadlinux-9ddb9dc6be095ebe393f7eb582df09cc4847c5e9.tar.xz
linux-9ddb9dc6be095ebe393f7eb582df09cc4847c5e9.zip
crypto: ccp - clean up data structure
Change names of data structure instances. Add const keyword where appropriate. Add error handling path. Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-dev-v3.c')
-rw-r--r--drivers/crypto/ccp/ccp-dev-v3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccp/ccp-dev-v3.c b/drivers/crypto/ccp/ccp-dev-v3.c
index 578522d8f22e..b6615b15a3c2 100644
--- a/drivers/crypto/ccp/ccp-dev-v3.c
+++ b/drivers/crypto/ccp/ccp-dev-v3.c
@@ -566,7 +566,7 @@ static const struct ccp_actions ccp3_actions = {
.irqhandler = ccp_irq_handler,
};
-struct ccp_vdata ccpv3 = {
+const struct ccp_vdata ccpv3 = {
.version = CCP_VERSION(3, 0),
.setup = NULL,
.perform = &ccp3_actions,