|
@@ -998,7 +998,7 @@ static int hsw_pcm_dev_remove(struct platform_device *pdev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_PM_RUNTIME
|
|
|
|
|
|
+#ifdef CONFIG_PM
|
|
|
|
|
|
static int hsw_pcm_runtime_idle(struct device *dev)
|
|
static int hsw_pcm_runtime_idle(struct device *dev)
|
|
{
|
|
{
|
|
@@ -1057,7 +1057,7 @@ static int hsw_pcm_runtime_resume(struct device *dev)
|
|
#define hsw_pcm_runtime_resume NULL
|
|
#define hsw_pcm_runtime_resume NULL
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_PM_RUNTIME)
|
|
|
|
|
|
+#ifdef CONFIG_PM
|
|
|
|
|
|
static void hsw_pcm_complete(struct device *dev)
|
|
static void hsw_pcm_complete(struct device *dev)
|
|
{
|
|
{
|