summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-tegra/tegra_i2s_audio.c6
-rw-r--r--arch/arm/mach-tegra/tegra_spdif_audio.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/tegra_i2s_audio.c b/arch/arm/mach-tegra/tegra_i2s_audio.c
index f8563ae89d0a..1368d173a2ba 100644
--- a/arch/arm/mach-tegra/tegra_i2s_audio.c
+++ b/arch/arm/mach-tegra/tegra_i2s_audio.c
@@ -1914,7 +1914,7 @@ static int tegra_audio_probe(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
static int tegra_audio_suspend(struct platform_device *pdev, pm_message_t mesg)
{
/* dev_info(&pdev->dev, "%s\n", __func__); */
@@ -1925,7 +1925,7 @@ static int tegra_audio_resume(struct platform_device *pdev)
{
return i2s_configure(pdev);
}
-#endif /* CONFIG_PM */
+#endif /* CONFIG_PM_SLEEP */
static struct platform_driver tegra_audio_driver = {
.driver = {
@@ -1933,7 +1933,7 @@ static struct platform_driver tegra_audio_driver = {
.owner = THIS_MODULE,
},
.probe = tegra_audio_probe,
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
.suspend = tegra_audio_suspend,
.resume = tegra_audio_resume,
#endif
diff --git a/arch/arm/mach-tegra/tegra_spdif_audio.c b/arch/arm/mach-tegra/tegra_spdif_audio.c
index 488de0d89da7..c23ebdf2fe1f 100644
--- a/arch/arm/mach-tegra/tegra_spdif_audio.c
+++ b/arch/arm/mach-tegra/tegra_spdif_audio.c
@@ -1144,7 +1144,7 @@ static int tegra_spdif_probe(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
static int tegra_spdif_suspend(struct platform_device *pdev, pm_message_t mesg)
{
/* dev_info(&pdev->dev, "%s\n", __func__); */
@@ -1155,7 +1155,7 @@ static int tegra_spdif_resume(struct platform_device *pdev)
{
return spdif_configure(pdev);
}
-#endif /* CONFIG_PM */
+#endif /* CONFIG_PM_SLEEP */
static struct platform_driver tegra_spdif_driver = {
.driver = {
@@ -1163,7 +1163,7 @@ static struct platform_driver tegra_spdif_driver = {
.owner = THIS_MODULE,
},
.probe = tegra_spdif_probe,
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
.suspend = tegra_spdif_suspend,
.resume = tegra_spdif_resume,
#endif