diff options
| author | Takashi Iwai <[email protected]> | 2025-03-20 10:57:20 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2025-03-20 10:59:02 +0000 |
| commit | ee3d1f09e04643b1b48bd894de1de3c600a01c05 (patch) | |
| tree | 160b43ecf5fd4327ed458317b8c7e7b51eaa6f68 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | ALSA: echoaudio: remove unused variable (diff) | |
| download | kernel-ee3d1f09e04643b1b48bd894de1de3c600a01c05.tar.gz kernel-ee3d1f09e04643b1b48bd894de1de3c600a01c05.zip | |
ALSA: oxygen: Fix dependency on CONFIG_PM_SLEEP
The conversion to EXPORT_SIMPLE_DEV_PM_OPS() also replaced the pm ops
assignment with pm_ptr() macro, but this made difference from the
original code; it had conditional with ifdef CONFIG_PM_SLEEP, while
we have now with CONFIG_PM, instead. This seems causing build errors
with randomconfig.
For fixing the inconsistency, replace pm_ptr() with pm_sleep_ptr().
Fixes: 5ea0a2206b58 ("ALSA: oxygen: Convert to EXPORT_SIMPLE_DEV_PM_OPS()")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
