From: khalasa@piap.pl (Krzysztof Hałasa)
To: linux-arm-kernel@lists.infradead.org
Subject: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c.
Date: Tue, 31 Dec 2013 11:51:16 +0100 [thread overview]
Message-ID: <m3d2kduwd7.fsf@t19.piap.pl> (raw)
drivers/crypto/ixp4xx_crypto.c: In function 'ixp_module_init':
drivers/crypto/ixp4xx_crypto.c:1419:2: error: 'dev' undeclared (first use in this function)
Now builds. Not tested on real hw.
Signed-off-by: Krzysztof Ha?asa <khalasa@piap.pl>
--- a/drivers/crypto/ixp4xx_crypto.c
+++ b/drivers/crypto/ixp4xx_crypto.c
@@ -1410,14 +1410,12 @@ static const struct platform_device_info ixp_dev_info __initdata = {
static int __init ixp_module_init(void)
{
int num = ARRAY_SIZE(ixp4xx_algos);
- int i, err ;
+ int i, err;
pdev = platform_device_register_full(&ixp_dev_info);
if (IS_ERR(pdev))
return PTR_ERR(pdev);
- dev = &pdev->dev;
-
spin_lock_init(&desc_lock);
spin_lock_init(&emerg_lock);
--
Krzysztof Halasa
Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland
WARNING: multiple messages have this Message-ID (diff)
From: khalasa@piap.pl (Krzysztof Hałasa)
To: lkml <linux-kernel@vger.kernel.org>,
linux-arm-kernel@lists.infradead.org
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
Russell King <rmk+kernel@arm.linux.org.uk>,
Christian Hohnstaedt <chohnstaedt@innominate.com>
Subject: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c.
Date: Tue, 31 Dec 2013 11:51:16 +0100 [thread overview]
Message-ID: <m3d2kduwd7.fsf@t19.piap.pl> (raw)
drivers/crypto/ixp4xx_crypto.c: In function 'ixp_module_init':
drivers/crypto/ixp4xx_crypto.c:1419:2: error: 'dev' undeclared (first use in this function)
Now builds. Not tested on real hw.
Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl>
--- a/drivers/crypto/ixp4xx_crypto.c
+++ b/drivers/crypto/ixp4xx_crypto.c
@@ -1410,14 +1410,12 @@ static const struct platform_device_info ixp_dev_info __initdata = {
static int __init ixp_module_init(void)
{
int num = ARRAY_SIZE(ixp4xx_algos);
- int i, err ;
+ int i, err;
pdev = platform_device_register_full(&ixp_dev_info);
if (IS_ERR(pdev))
return PTR_ERR(pdev);
- dev = &pdev->dev;
-
spin_lock_init(&desc_lock);
spin_lock_init(&emerg_lock);
--
Krzysztof Halasa
Research Institute for Automation and Measurements PIAP
Al. Jerozolimskie 202, 02-486 Warsaw, Poland
next reply other threads:[~2013-12-31 10:51 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-31 10:51 Krzysztof Hałasa [this message]
2013-12-31 10:51 ` [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Krzysztof Hałasa
2013-12-31 13:48 ` Gerhard Sittig
2013-12-31 13:48 ` Gerhard Sittig
2013-12-31 18:01 ` Randy Dunlap
2013-12-31 18:01 ` Randy Dunlap
2014-01-01 12:37 ` Gerhard Sittig
2014-01-01 12:37 ` Gerhard Sittig
2014-01-01 12:46 ` Russell King - ARM Linux
2014-01-01 12:46 ` Russell King - ARM Linux
2014-01-02 0:25 ` Jason Cooper
2014-01-02 0:25 ` Jason Cooper
2013-12-31 18:14 ` Russell King - ARM Linux
2013-12-31 18:14 ` Russell King - ARM Linux
2014-01-01 12:18 ` Gerhard Sittig
2014-01-01 12:18 ` Gerhard Sittig
2014-01-02 8:42 ` About Mail-Followup-To and Mutt [Was: Re: [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c] Uwe Kleine-König
2014-01-02 8:42 ` Uwe Kleine-König
2014-01-02 10:35 ` Russell King - ARM Linux
2014-01-02 10:35 ` Russell King - ARM Linux
2014-01-02 18:33 ` Borislav Petkov
2014-01-02 18:33 ` Borislav Petkov
2014-01-02 17:51 ` Mark Brown
2014-01-02 17:51 ` Mark Brown
2014-01-01 6:06 ` [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Herbert Xu
2014-01-01 6:06 ` Herbert Xu
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=m3d2kduwd7.fsf@t19.piap.pl \
--to=khalasa@piap.pl \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.