Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26f25b26 authored by Jingoo Han's avatar Jingoo Han Committed by Herbert Xu
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarJoel Fernandes <joelf@ti.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ae12fe28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;