diff options
| author | Pengpeng Hou <pengpeng.hou@isrc.iscas.ac.cn> | 2026-03-10 08:23:48 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-10 19:32:42 +0000 |
| commit | 4ba5c63778e5cca15b1408f012d00b441f808f3d (patch) | |
| tree | 96314966b0cb036ba4899ab7bd5b7e243e17a329 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9be71d462c33b1a00acfa4ab8f0f5332ed592817 (diff) | |
ASoC: da7219: scope AAD suspend and resume helpers to CONFIG_PM
In current linux.git, da7219_aad_suspend() and
da7219_aad_resume() are defined and declared unconditionally. However,
their only in-tree callers are the component PM callbacks in da7219.c,
which are already guarded by #ifdef CONFIG_PM.
This inconsistency leads to unnecessary code inclusion and potential
compiler warnings when CONFIG_PM is disabled. Match the helper
declarations and definitions to the callers' scope and provide no-op
!CONFIG_PM stubs in the header.
Signed-off-by: Pengpeng Hou <pengpeng.hou@isrc.iscas.ac.cn>
Link: https://patch.msgid.link/20260310082348.743716-1-pengpeng.hou@isrc.iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
