aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2015-07-02 23:49:37 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-03 14:37:02 -0400
commit5a8011cb896ed9822ca9086cf9c4d4c5db16be64 (patch)
treed14410fea0e66a770786c0cf373155d4d910e1d6
parent9bdc771f2c29a11920f477fba05a58e23ee42554 (diff)
crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/crypto/mv_cesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index 5bcd575fa96f..e6b658faef63 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -1034,8 +1034,8 @@ static int mv_cesa_get_sram(struct platform_device *pdev,
1034 &sram_size); 1034 &sram_size);
1035 1035
1036 cp->sram_size = sram_size; 1036 cp->sram_size = sram_size;
1037 cp->sram_pool = of_get_named_gen_pool(pdev->dev.of_node, 1037 cp->sram_pool = of_gen_pool_get(pdev->dev.of_node,
1038 "marvell,crypto-srams", 0); 1038 "marvell,crypto-srams", 0);
1039 if (cp->sram_pool) { 1039 if (cp->sram_pool) {
1040 cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size, 1040 cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size,
1041 &cp->sram_dma); 1041 &cp->sram_dma);