crypto: ixp4xx - Fix kernel compile error
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> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
389a539058
commit
efb753b8e0
@ -1416,8 +1416,6 @@ static int __init ixp_module_init(void)
|
||||
if (IS_ERR(pdev))
|
||||
return PTR_ERR(pdev);
|
||||
|
||||
dev = &pdev->dev;
|
||||
|
||||
spin_lock_init(&desc_lock);
|
||||
spin_lock_init(&emerg_lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user