From b63ee2039e292ee00d3f5650ae29eaa2c67e3b09 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 11 Jan 2018 09:20:47 +0100 Subject: crypto, tegra: fix build without pm runtime Signed-off-by: Marcel Ziswiler Acked-by: Dominik Sliwa --- drivers/crypto/tegra-se.c | 4 +--- 1 file changed, 1 insertion(+), 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) { /* -- cgit v1.2.3