crypto, tegra: fix build without pm runtime Apalis-T30_LXDE-Image_2.8b2.97-20180331 Colibri-T20_LXDE-Image_2.8b2.97-20180331 Colibri-T30_LXDE-Image_2.8b2.97-20180331
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Thu, 11 Jan 2018 08:20:47 +0000 (09:20 +0100)
committerDominik Sliwa <dominik.sliwa@toradex.com>
Wed, 28 Mar 2018 12:21:43 +0000 (14:21 +0200)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
drivers/crypto/tegra-se.c

index c030653569842f027505632b456c94957766ff7f..c461fcbdb659e8b92bcc89887b1a9884ee68cb6c 100644 (file)
@@ -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)
 {
        /*