Skip to contentSkip to conversation

crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename

PATCH In review Stephen Rothwell 2 participants 2 messages Jul 3, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename

---
 drivers/crypto/mv_cesa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Andrew, you seem to have forgotten this one (or maybe it was not needed in Linus' tree when you sent that last patch bomb). Anyway, this is now needed in Linus' tree.

drivers/crypto/mv_cesa.c +2 -2
index 5bcd575fa96f..e6b658faef63 100644
@@ -1034,8 +1034,8 @@ static int mv_cesa_get_sram(struct platform_device *pdev,
 			     &sram_size);
 
 	cp->sram_size = sram_size;
-	cp->sram_pool = of_get_named_gen_pool(pdev->dev.of_node,
-					      "marvell,crypto-srams", 0);
+	cp->sram_pool = of_gen_pool_get(pdev->dev.of_node,
+					"marvell,crypto-srams", 0);
 	if (cp->sram_pool) {
 		cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size,
 					      &cp->sram_dma);
Signature · 5 lines
2.1.4

-- 
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 10 lines · Stephen Rothwell
---
 drivers/crypto/mv_cesa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Andrew, you seem to have forgotten this one (or maybe it was not needed in Linus' tree when you sent that last patch bomb). Anyway, this is now needed in Linus' tree.

See also https://lkml.org/lkml/2015/6/25/122.

Guenter

Quoted 28 lines
drivers/crypto/mv_cesa.c +2 -2
index 5bcd575fa96f..e6b658faef63 100644
@@ -1034,8 +1034,8 @@ static int mv_cesa_get_sram(struct platform_device *pdev,
 			     &sram_size);
 
 	cp->sram_size = sram_size;
-	cp->sram_pool = of_get_named_gen_pool(pdev->dev.of_node,
-					      "marvell,crypto-srams", 0);
+	cp->sram_pool = of_gen_pool_get(pdev->dev.of_node,
+					"marvell,crypto-srams", 0);
 	if (cp->sram_pool) {
 		cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size,
 					      &cp->sram_dma);
Signature · 10 lines
2.1.4

-- 
Cheers,
Stephen Rothwell                    [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/