Skip to content

Commit

Permalink
crypto: omap-des - make local functions static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Herbert Xu committed Mar 10, 2014
1 parent ae12fe2 commit 26f25b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/crypto/omap-des.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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;
Expand Down

0 comments on commit 26f25b2

Please sign in to comment.