Skip to content

Commit e8679db

Browse files
Srinivasa Rao Mandadapubroonie
authored andcommitted
ASoC: qcom: lpass-sc7180: Add maybe_unused tag for system PM ops
Add __maybe_unused tag for system PM ops suspend and resume. This is required to fix allmodconfig compilation issue. Fixes: a3a96e9 ("ASoC: qcom: lpass-sc7280: Add system suspend/resume PM ops") Signed-off-by: Srinivasa Rao Mandadapu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 75af419 commit e8679db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/qcom/lpass-sc7180.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ static int sc7180_lpass_exit(struct platform_device *pdev)
163163
return 0;
164164
}
165165

166-
static int sc7180_lpass_dev_resume(struct device *dev)
166+
static int __maybe_unused sc7180_lpass_dev_resume(struct device *dev)
167167
{
168168
struct lpass_data *drvdata = dev_get_drvdata(dev);
169169

170170
return clk_bulk_prepare_enable(drvdata->num_clks, drvdata->clks);
171171
}
172172

173-
static int sc7180_lpass_dev_suspend(struct device *dev)
173+
static int __maybe_unused sc7180_lpass_dev_suspend(struct device *dev)
174174
{
175175
struct lpass_data *drvdata = dev_get_drvdata(dev);
176176

0 commit comments

Comments
 (0)