diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-27 06:34:36 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-03-10 08:13:40 -0400 |
commit | 26f25b2695aa0996aa01e86a212db94e8dd2006d (patch) | |
tree | 35584d2fe1f5daf736d701f63ab7d79d4c4c9b23 | |
parent | ae12fe288559417ac69fd0d5ab976dc4612a768b (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.c | 4 |
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 | ||
538 | int omap_des_copy_needed(struct scatterlist *sg) | 538 | static 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 | ||
550 | int omap_des_copy_sgs(struct omap_des_dev *dd) | 550 | static 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; |