diff options
| author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2023-05-12 13:17:00 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-05-15 20:14:02 +0900 |
| commit | b7b71b8cbd48b435e7e70a27f96b43a8270ec675 (patch) | |
| tree | 1ee54612300c289cda4c3174b5f7e4d863a9f729 /tools/perf/scripts/python | |
| parent | ASoC: SOF: Intel: hda-dai: move hda_dai_prepare() code (diff) | |
| download | linux-b7b71b8cbd48b435e7e70a27f96b43a8270ec675.tar.gz linux-b7b71b8cbd48b435e7e70a27f96b43a8270ec675.zip | |
ASoC: SOF: Intel: hda-dai: mark functions as __maybe_unused
hda_dai_hw_params, hda_dai_trigger(), hda_dai_hw_free are currently
only used for HDaudio codec support, but will be reused for
SSP/DMIC/SoundWire in the LunarLake/ACE2.x case. To avoid 'defined but
not used' errors or added complexity in Kconfig, mark all these
functions as __maybe_used.
When SSP/DMIC/SoundWire are added, some of these changes may be
reverted. For now this avoids compilation warnings.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com
Reviewed-by: Rander Wang <rander.wang@intel.com
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com
Link: https://lore.kernel.org/r/20230512181702.117483-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
