aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-06-25 04:54:45 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-25 08:51:17 -0400
commit756bed2d0e55ab3b063447d150436bbc1de1301b (patch)
treeaa5d158e21b4e55af365b1f25087a220a035c406 /drivers/crypto
parente3f511479376f073085b3a974343290cec350279 (diff)
crypto: ux500/hash: add missing static qualifiers
Add missing static qualifiers to hash_process_data and hash_hw_final. Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/ux500/hash/hash_core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c
index 23bda940abd7..cffe26ea716f 100644
--- a/drivers/crypto/ux500/hash/hash_core.c
+++ b/drivers/crypto/ux500/hash/hash_core.c
@@ -792,8 +792,7 @@ void hash_begin(struct hash_device_data *device_data, struct hash_ctx *ctx)
792 HASH_CLEAR_BITS(&device_data->base->str, HASH_STR_NBLW_MASK); 792 HASH_CLEAR_BITS(&device_data->base->str, HASH_STR_NBLW_MASK);
793} 793}
794 794
795int hash_process_data( 795static int hash_process_data(struct hash_device_data *device_data,
796 struct hash_device_data *device_data,
797 struct hash_ctx *ctx, struct hash_req_ctx *req_ctx, 796 struct hash_ctx *ctx, struct hash_req_ctx *req_ctx,
798 int msg_length, u8 *data_buffer, u8 *buffer, u8 *index) 797 int msg_length, u8 *data_buffer, u8 *buffer, u8 *index)
799{ 798{
@@ -992,7 +991,7 @@ out:
992 * hash_hw_final - The final hash calculation function 991 * hash_hw_final - The final hash calculation function
993 * @req: The hash request for the job. 992 * @req: The hash request for the job.
994 */ 993 */
995int hash_hw_final(struct ahash_request *req) 994static int hash_hw_final(struct ahash_request *req)
996{ 995{
997 int ret = 0; 996 int ret = 0;
998 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); 997 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);