diff options
author | Gary R Hook <gary.hook@amd.com> | 2016-09-28 19:53:47 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-10-02 17:33:44 +0300 |
commit | 9ddb9dc6be095ebe393f7eb582df09cc4847c5e9 (patch) | |
tree | c37ab2aa50e99c2c3a0a607b3af0c0c0855937fa /drivers/crypto/ccp/ccp-dev.h | |
parent | 8df4f27c04c0e061b4b2c142bfbae1602bb1b776 (diff) | |
download | linux-9ddb9dc6be095ebe393f7eb582df09cc4847c5e9.tar.xz |
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.h')
-rw-r--r-- | drivers/crypto/ccp/ccp-dev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index ebc93652833b..08f58b0d4271 100644 --- a/drivers/crypto/ccp/ccp-dev.h +++ b/drivers/crypto/ccp/ccp-dev.h @@ -639,8 +639,8 @@ struct ccp_vdata { const unsigned int offset; }; -extern struct ccp_vdata ccpv3; -extern struct ccp_vdata ccpv5; -extern struct ccp_vdata ccpv5other; +extern const struct ccp_vdata ccpv3; +extern const struct ccp_vdata ccpv5a; +extern const struct ccp_vdata ccpv5b; #endif |