All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: qcom: lpass-sc7180: Add maybe_unused tag for system PM ops
@ 2022-11-29 12:53 Srinivasa Rao Mandadapu
  2022-11-29 14:43   ` Mark Brown
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Srinivasa Rao Mandadapu @ 2022-11-29 12:53 UTC (permalink / raw)
  To: agross, andersson, lgirdwood, broonie, robh+dt, quic_plai,
	bgoswami, perex, tiwai, srinivas.kandagatla, quic_rohkumar,
	linux-arm-msm, alsa-devel, linux-kernel, swboyd, judyhsiao,
	devicetree
  Cc: Srinivasa Rao Mandadapu

Add __maybe_unused tag for system PM ops suspend and resume.
This is required to fix allmodconfig compilation issue.
Fixes: c3bf7699747c ("ASoC: qcom: lpass-sc7280: Add system suspend/resume PM ops")

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
---
 sound/soc/qcom/lpass-sc7180.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c
index b96b85a..41db661 100644
--- a/sound/soc/qcom/lpass-sc7180.c
+++ b/sound/soc/qcom/lpass-sc7180.c
@@ -163,14 +163,14 @@ static int sc7180_lpass_exit(struct platform_device *pdev)
 	return 0;
 }
 
-static int sc7180_lpass_dev_resume(struct device *dev)
+static int __maybe_unused sc7180_lpass_dev_resume(struct device *dev)
 {
 	struct lpass_data *drvdata = dev_get_drvdata(dev);
 
 	return clk_bulk_prepare_enable(drvdata->num_clks, drvdata->clks);
 }
 
-static int sc7180_lpass_dev_suspend(struct device *dev)
+static int __maybe_unused sc7180_lpass_dev_suspend(struct device *dev)
 {
 	struct lpass_data *drvdata = dev_get_drvdata(dev);
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-12-01  7:04 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 12:53 [PATCH] ASoC: qcom: lpass-sc7180: Add maybe_unused tag for system PM ops Srinivasa Rao Mandadapu
2022-11-29 14:43 ` Mark Brown
2022-11-29 14:43   ` Mark Brown
2022-11-29 15:40 ` Mark Brown
2022-11-29 15:45 ` Nathan Chancellor
2022-11-29 15:45   ` Nathan Chancellor
2022-11-29 15:58   ` Srinivasa Rao Mandadapu
2022-11-29 15:58     ` Srinivasa Rao Mandadapu
2022-11-29 16:05     ` Nathan Chancellor
2022-11-29 16:05       ` Nathan Chancellor
2022-11-29 20:08     ` Matthias Kaehlcke
2022-11-29 20:08       ` Matthias Kaehlcke
2022-12-01  7:02       ` Srinivasa Rao Mandadapu
2022-12-01  7:02         ` Srinivasa Rao Mandadapu
2022-11-30 17:07 ` Matthias Kaehlcke
2022-11-30 17:07   ` Matthias Kaehlcke
2022-11-30 17:16   ` Mark Brown
2022-11-30 17:16     ` Mark Brown
2022-11-30 17:37     ` Matthias Kaehlcke
2022-11-30 17:37       ` Matthias Kaehlcke
2022-11-30 19:12       ` Mark Brown
2022-11-30 19:12         ` Mark Brown
2022-12-01  3:31         ` Srinivasa Rao Mandadapu
2022-12-01  3:31           ` Srinivasa Rao Mandadapu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.