summaryrefslogtreecommitdiff
path: root/drivers/crypto/tegra-se.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/tegra-se.c')
-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)
{
/*