diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-06-16 11:00:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-06-16 12:56:07 +0100 |
commit | 041c5a1d065e5882299475326655f573e2a2a580 (patch) | |
tree | 8d168cbe9265ae64706b566e9cfd8283c39f26bc /scripts/gdb/linux/modules.py | |
parent | 0c340ba05fda0fbf5a54207452728911c6388330 (diff) |
ASoC: loongson: fix unused PM function warning
Build testing without CONFIG_PM_SLEEP causes a warning:
sound/soc/loongson/loongson_i2s.c:246:12: error: unused function 'i2s_suspend' [-Werror,-Wunused-function]
sound/soc/loongson/loongson_i2s.c:255:12: error: unused function 'i2s_resume' [-Werror,-Wunused-function]
Use the modern SYSTEM_SLEEP_PM_OPS() instead of the old one to avoid this.
Fixes: d24028606e764 ("ASoC: loongson: Add Loongson ASoC Sound Card Support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230616090156.2347850-2-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions