From: Fabio Baltieri Date: Tue, 25 Jun 2013 08:54:45 +0000 (+0200) Subject: crypto: ux500/hash: add missing static qualifiers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=756bed2d0e55ab3b063447d150436bbc1de1301b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git crypto: ux500/hash: add missing static qualifiers Add missing static qualifiers to hash_process_data and hash_hw_final. Signed-off-by: Fabio Baltieri Acked-by: Herbert Xu Signed-off-by: Linus Walleij --- 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) HASH_CLEAR_BITS(&device_data->base->str, HASH_STR_NBLW_MASK); } -int hash_process_data( - struct hash_device_data *device_data, +static int hash_process_data(struct hash_device_data *device_data, struct hash_ctx *ctx, struct hash_req_ctx *req_ctx, int msg_length, u8 *data_buffer, u8 *buffer, u8 *index) { @@ -992,7 +991,7 @@ out: * hash_hw_final - The final hash calculation function * @req: The hash request for the job. */ -int hash_hw_final(struct ahash_request *req) +static int hash_hw_final(struct ahash_request *req) { int ret = 0; struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);