aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-27 06:34:36 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-10 08:13:40 -0400
commit26f25b2695aa0996aa01e86a212db94e8dd2006d (patch)
tree35584d2fe1f5daf736d701f63ab7d79d4c4c9b23
parentae12fe288559417ac69fd0d5ab976dc4612a768b (diff)
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>
-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)
535 return err; 535 return err;
536} 536}
537 537
538int omap_des_copy_needed(struct scatterlist *sg) 538static int omap_des_copy_needed(struct scatterlist *sg)
539{ 539{
540 while (sg) { 540 while (sg) {
541 if (!IS_ALIGNED(sg->offset, 4)) 541 if (!IS_ALIGNED(sg->offset, 4))
@@ -547,7 +547,7 @@ int omap_des_copy_needed(struct scatterlist *sg)
547 return 0; 547 return 0;
548} 548}
549 549
550int omap_des_copy_sgs(struct omap_des_dev *dd) 550static int omap_des_copy_sgs(struct omap_des_dev *dd)
551{ 551{
552 void *buf_in, *buf_out; 552 void *buf_in, *buf_out;
553 int pages; 553 int pages;