diff options
Diffstat (limited to 'drivers/crypto/amcc/crypto4xx_core.c')
| -rw-r--r-- | drivers/crypto/amcc/crypto4xx_core.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index f88e3d8f6b6..37f9cc98ba1 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -27,6 +27,9 @@  #include <linux/dma-mapping.h>  #include <linux/platform_device.h>  #include <linux/init.h> +#include <linux/module.h> +#include <linux/of_address.h> +#include <linux/of_irq.h>  #include <linux/of_platform.h>  #include <linux/slab.h>  #include <asm/dcr.h> @@ -721,7 +724,6 @@ static void crypto4xx_stop_all(struct crypto4xx_core_device *core_dev)  	crypto4xx_destroy_pdr(core_dev->dev);  	crypto4xx_destroy_gdr(core_dev->dev);  	crypto4xx_destroy_sdr(core_dev->dev); -	dev_set_drvdata(core_dev->device, NULL);  	iounmap(core_dev->dev->ce_base);  	kfree(core_dev->dev);  	kfree(core_dev);  | 
