summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorCristian Stoica <cristian.stoica@freescale.com>2014-09-24 12:42:08 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:41:13 (GMT)
commit80e92d4b56f2fab7aea1a86d96a0bdbeb999515a (patch)
treee93178010bbc28882125a5e65519834d68981b15 /drivers/crypto/caam
parenta0085550ff2140b0a0eb1a5c6b0c76f200e576c7 (diff)
downloadlinux-fsl-qoriq-80e92d4b56f2fab7aea1a86d96a0bdbeb999515a.tar.xz
crypto: caam: change function definition to return void
The function definition is changed to match dma_unmap_sg which is a void function Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Change-Id: I6142f5a56127db1fa103a497489e88d04bbc28e1 Reviewed-on: http://git.am.freescale.net:8181/19809 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mircea Pop <mircea.pop@freescale.com> Reviewed-by: Richard Schmitt <richard.schmitt@freescale.com>
Diffstat (limited to 'drivers/crypto/caam')
-rw-r--r--drivers/crypto/caam/sg_sw_sec4.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/caam/sg_sw_sec4.h b/drivers/crypto/caam/sg_sw_sec4.h
index 3b58cd5..eef6345 100644
--- a/drivers/crypto/caam/sg_sw_sec4.h
+++ b/drivers/crypto/caam/sg_sw_sec4.h
@@ -109,7 +109,7 @@ static int dma_map_sg_chained(struct device *dev, struct scatterlist *sg,
return nents;
}
-static int dma_unmap_sg_chained(struct device *dev, struct scatterlist *sg,
+static void dma_unmap_sg_chained(struct device *dev, struct scatterlist *sg,
unsigned int nents, enum dma_data_direction dir,
bool chained)
{
@@ -125,5 +125,4 @@ static int dma_unmap_sg_chained(struct device *dev, struct scatterlist *sg,
} else {
dma_unmap_sg(dev, sg, nents, dir);
}
- return nents;
}