summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-01-11 09:20:47 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2018-03-28 14:21:43 +0200
commitb63ee2039e292ee00d3f5650ae29eaa2c67e3b09 (patch)
tree19e1162002b199def07b6cae43ec48196f7fd1c5
parent8e1745b5e506ddae43a4d8bb8cadbd0cb5e3d8a0 (diff)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
-rw-r--r--drivers/crypto/tegra-se.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/tegra-se.c b/drivers/crypto/tegra-se.c
index c03065356984..c461fcbdb659 100644
--- a/drivers/crypto/tegra-se.c
+++ b/drivers/crypto/tegra-se.c
@@ -2045,7 +2045,7 @@ static int __devexit tegra_se_remove(struct platform_device *pdev)
return 0;
}
-#if defined(CONFIG_PM)
+#if defined(CONFIG_PM_RUNTIME)
static int tegra_se_resume(struct device *dev)
{
return 0;
@@ -2395,9 +2395,7 @@ static int tegra_se_suspend(struct device *dev)
out:
return err;
}
-#endif
-#if defined(CONFIG_PM_RUNTIME)
static int tegra_se_runtime_suspend(struct device *dev)
{
/*