diff options
Diffstat (limited to 'sound/soc/tegra/tegra30_dam.h')
-rw-r--r-- | sound/soc/tegra/tegra30_dam.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra30_dam.h b/sound/soc/tegra/tegra30_dam.h index 199730fc1563..ea76a2315655 100644 --- a/sound/soc/tegra/tegra30_dam.h +++ b/sound/soc/tegra/tegra30_dam.h @@ -129,7 +129,9 @@ struct tegra30_dam_context { bool ch_alloc[TEGRA30_DAM_NUM_INPUT_CHANNELS]; int ch_enable_refcnt[TEGRA30_DAM_NUM_INPUT_CHANNELS]; int ch_insamplerate[TEGRA30_DAM_NUM_INPUT_CHANNELS]; - int ctrlreg_cache[TEGRA30_DAM_CTRL_REGINDEX + 1]; +#ifdef CONFIG_PM + int reg_cache[TEGRA30_DAM_CTRL_REGINDEX + 1]; +#endif struct clk *dam_clk; bool in_use; void __iomem *damregs; @@ -143,7 +145,6 @@ struct tegra30_dam_src_step_table { }; #ifdef CONFIG_PM -int tegra30_dam_suspend(int ifc); int tegra30_dam_resume(int ifc); #endif void tegra30_dam_disable_clock(int ifc); |