diff options
Diffstat (limited to 'drivers/crypto/bfin_crc.c')
-rw-r--r-- | drivers/crypto/bfin_crc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/bfin_crc.c b/drivers/crypto/bfin_crc.c index 33cf9eb87344..d9af9403ab6c 100644 --- a/drivers/crypto/bfin_crc.c +++ b/drivers/crypto/bfin_crc.c | |||
@@ -110,7 +110,7 @@ static int sg_count(struct scatterlist *sg_list) | |||
110 | 110 | ||
111 | while (!sg_is_last(sg)) { | 111 | while (!sg_is_last(sg)) { |
112 | sg_nents++; | 112 | sg_nents++; |
113 | sg = scatterwalk_sg_next(sg); | 113 | sg = sg_next(sg); |
114 | } | 114 | } |
115 | 115 | ||
116 | return sg_nents; | 116 | return sg_nents; |