aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/ux500/cryp/cryp_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c
index 92105f3dc8e0..83811aab207e 100644
--- a/drivers/crypto/ux500/cryp/cryp_core.c
+++ b/drivers/crypto/ux500/cryp/cryp_core.c
@@ -1688,6 +1688,7 @@ static void ux500_cryp_shutdown(struct platform_device *pdev)
1688 1688
1689} 1689}
1690 1690
1691#ifdef CONFIG_PM_SLEEP
1691static int ux500_cryp_suspend(struct device *dev) 1692static int ux500_cryp_suspend(struct device *dev)
1692{ 1693{
1693 int ret; 1694 int ret;
@@ -1768,6 +1769,7 @@ static int ux500_cryp_resume(struct device *dev)
1768 1769
1769 return ret; 1770 return ret;
1770} 1771}
1772#endif
1771 1773
1772static SIMPLE_DEV_PM_OPS(ux500_cryp_pm, ux500_cryp_suspend, ux500_cryp_resume); 1774static SIMPLE_DEV_PM_OPS(ux500_cryp_pm, ux500_cryp_suspend, ux500_cryp_resume);
1773 1775