linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c.
@ 2013-12-31 10:51 Krzysztof Hałasa
  2013-12-31 13:48 ` Gerhard Sittig
  2014-01-01  6:06 ` [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Herbert Xu
  0 siblings, 2 replies; 13+ messages in thread
From: Krzysztof Hałasa @ 2013-12-31 10:51 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-01-02 18:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 18:01   ` Randy Dunlap
2014-01-01 12:37     ` Gerhard Sittig
2014-01-01 12:46       ` Russell King - ARM Linux
2014-01-02  0:25         ` Jason Cooper
2013-12-31 18:14   ` Russell King - ARM Linux
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 10:35         ` Russell King - ARM Linux
2014-01-02 18:33           ` Borislav Petkov
2014-01-02 17:51         ` Mark Brown
2014-01-01  6:06 ` [ARM] Fix kernel compile error: drivers/crypto/ixp4xx_crypto.c Herbert Xu

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).