linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: simon.guinot@sequanux.org (Simon Guinot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename
Date: Thu, 25 Jun 2015 10:37:50 +0200	[thread overview]
Message-ID: <1435221470-5382-1-git-send-email-simon.guinot@sequanux.org> (raw)
In-Reply-To: <CABxcv=m4juAMHaMYSB+8O8cEX+YZCJ0cArS2wN-YGpTBgWe-CA@mail.gmail.com>

This patch fixes the following build error:

drivers/crypto/mv_cesa.c: In function 'mv_cesa_get_sram':
drivers/crypto/mv_cesa.c:1037: error: implicit declaration of function 'of_get_named_gen_pool'
drivers/crypto/mv_cesa.c:1038: warning: assignment makes pointer from integer without a cast
scripts/Makefile.build:258: recipe for target 'drivers/crypto/mv_cesa.o' failed

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
---
 drivers/crypto/mv_cesa.c | 4 ++--
 1 file 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,
 			     &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);
-- 
2.1.4

  reply	other threads:[~2015-06-25  8:37 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 13:46 [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 01/14] crypto: mv_cesa: document the clocks property Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 02/14] crypto: mv_cesa: use gen_pool to reserve the SRAM memory region Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 03/14] crypto: mv_cesa: explicitly define kirkwood and dove compatible strings Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 04/14] crypto: add a new driver for Marvell's CESA Boris Brezillon
2015-06-19  6:42   ` Herbert Xu
2015-06-19  8:24     ` Thomas Petazzoni
2015-06-19  8:40       ` Gregory CLEMENT
2015-06-19 14:03         ` Herbert Xu
2015-06-18 13:46 ` [PATCH v7 05/14] crypto: marvell/CESA: add TDMA support Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 06/14] crypto: marvell/CESA: add DES support Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 07/14] crypto: marvell/CESA: add Triple-DES support Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 08/14] crypto: marvell/CESA: add MD5 support Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 09/14] crypto: marvell/CESA: add SHA256 support Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 10/14] crypto: marvell/CESA: add support for all armada SoCs Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 11/14] crypto: marvell/CESA: add allhwsupport module parameter Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 12/14] crypto: marvell/CESA: add support for Orion SoCs Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 13/14] crypto: marvell/CESA: add support for Kirkwood and Dove SoCs Boris Brezillon
2015-06-18 13:46 ` [PATCH v7 14/14] crypto: marvell/CESA: add DT bindings documentation Boris Brezillon
2015-06-19 14:24 ` [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA Herbert Xu
2015-06-20 20:32   ` Paul Gortmaker
2015-06-21  0:14     ` Paul Gortmaker
2015-06-21  8:24       ` Boris Brezillon
2015-06-21  8:27         ` Herbert Xu
2015-06-21 15:36           ` Boris Brezillon
2015-06-22  7:23           ` Boris Brezillon
2015-06-22  7:59             ` Herbert Xu
2015-06-25  0:00               ` Paul Gortmaker
2015-06-25  0:33                 ` Javier Martinez Canillas
2015-06-25  8:37                   ` Simon Guinot [this message]
2015-06-25 15:30                     ` [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename Herbert Xu
2015-06-25 15:41                       ` Paul Gortmaker
2015-06-25 15:56                       ` Simon Guinot
2015-06-26  8:32                         ` Herbert Xu
2015-07-25 14:51 ` [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA Gregory CLEMENT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435221470-5382-1-git-send-email-simon.guinot@sequanux.org \
    --to=simon.guinot@sequanux.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).