提交 26f25b26 编写于 作者: J Jingoo Han 提交者: Herbert Xu

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: NJingoo Han <jg1.han@samsung.com>
Acked-by: NJoel Fernandes <joelf@ti.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 ae12fe28
...@@ -535,7 +535,7 @@ static int omap_des_crypt_dma_stop(struct omap_des_dev *dd) ...@@ -535,7 +535,7 @@ static int omap_des_crypt_dma_stop(struct omap_des_dev *dd)
return err; return err;
} }
int omap_des_copy_needed(struct scatterlist *sg) static int omap_des_copy_needed(struct scatterlist *sg)
{ {
while (sg) { while (sg) {
if (!IS_ALIGNED(sg->offset, 4)) if (!IS_ALIGNED(sg->offset, 4))
...@@ -547,7 +547,7 @@ int omap_des_copy_needed(struct scatterlist *sg) ...@@ -547,7 +547,7 @@ int omap_des_copy_needed(struct scatterlist *sg)
return 0; 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; void *buf_in, *buf_out;
int pages; int pages;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册