summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-des.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-27 12:34:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-10 13:13:40 +0100
commit26f25b2695aa0996aa01e86a212db94e8dd2006d (patch)
tree35584d2fe1f5daf736d701f63ab7d79d4c4c9b23 /drivers/crypto/omap-des.c
parentcrypto: omap-sham - Use SIMPLE_DEV_PM_OPS macro (diff)
downloadlinux-26f25b2695aa0996aa01e86a212db94e8dd2006d.tar.xz
linux-26f25b2695aa0996aa01e86a212db94e8dd2006d.zip
crypto: omap-des - make local functions static
Make omap_des_copy_needed(), omap_des_copy_sgs(), because these functions are used only in this file. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Joel Fernandes <joelf@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-des.c')
-rw-r--r--drivers/crypto/omap-des.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c
index 758919e23fdb..ec5f13162b73 100644
--- a/drivers/crypto/omap-des.c
+++ b/drivers/crypto/omap-des.c
@@ -535,7 +535,7 @@ static int omap_des_crypt_dma_stop(struct omap_des_dev *dd)
return err;
}
-int omap_des_copy_needed(struct scatterlist *sg)
+static int omap_des_copy_needed(struct scatterlist *sg)
{
while (sg) {
if (!IS_ALIGNED(sg->offset, 4))
@@ -547,7 +547,7 @@ int omap_des_copy_needed(struct scatterlist *sg)
return 0;
}
-int omap_des_copy_sgs(struct omap_des_dev *dd)
+static int omap_des_copy_sgs(struct omap_des_dev *dd)
{
void *buf_in, *buf_out;
int pages;