ASoC: tegra-alt: fix compile when CONFIG_PM=n

Bug 1827482

Change-Id: Ibe748f4d67f78f87445e35f3b404b240a9e61026
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/1237107
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
This commit is contained in:
Timo Alho
2016-10-15 23:48:36 +03:00
committed by Sameer Pujar
parent e66ce07df1
commit 122abbbbab

View File

@@ -92,6 +92,7 @@ static int tegra186_arad_runtime_suspend(struct device *dev)
return 0;
}
#ifdef CONFIG_PM
static int tegra186_arad_runtime_resume(struct device *dev)
{
struct tegra186_arad *arad = dev_get_drvdata(dev);
@@ -108,6 +109,7 @@ static int tegra186_arad_runtime_resume(struct device *dev)
return 0;
}
#endif
#ifdef CONFIG_PM_SLEEP
static int tegra186_arad_suspend(struct device *dev)