aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index b931039632c5..bdbbc6a980fa 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -825,8 +825,10 @@ static int soc_probe(struct platform_device *pdev)
825 825
826 /* DAPM stream work */ 826 /* DAPM stream work */
827 INIT_DELAYED_WORK(&socdev->delayed_work, close_delayed_work); 827 INIT_DELAYED_WORK(&socdev->delayed_work, close_delayed_work);
828#ifdef CONFIG_PM
828 /* deferred resume work */ 829 /* deferred resume work */
829 INIT_WORK(&socdev->deferred_resume_work, soc_resume_deferred); 830 INIT_WORK(&socdev->deferred_resume_work, soc_resume_deferred);
831#endif
830 832
831 return 0; 833 return 0;
832 834