diff options
| author | Arnd Bergmann <[email protected]> | 2025-05-23 12:11:47 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-05-23 12:33:32 +0000 |
| commit | e2d8ae899760ff71168d08047962caae07ab36a1 (patch) | |
| tree | 36f08a43a9821f361b0da59923686a4ad837a641 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
| parent | usb: misc: onboard_usb_dev: fix build warning for CONFIG_USB_ONBOARD_DEV_USB5... (diff) | |
| download | kernel-e2d8ae899760ff71168d08047962caae07ab36a1.tar.gz kernel-e2d8ae899760ff71168d08047962caae07ab36a1.zip | |
ASoC: qdsp6: fix compile-testing without CONFIG_OF
The driver builds cleanly only when CONFIG_OF is enabled, otherwise the
compiler notices an unused symbol:
sound/soc/qcom/qdsp6/q6usb.c:401:34: error: 'q6usb_dai_device_id' defined but not used [-Werror=unused-const-variable=]
The driver does not support legacy board files, so the of_match_ptr()
annotation has no use here and can be removed to avoid the warning.
Fixes: e0dd9240f13a ("ASoC: qcom: qdsp6: Fetch USB offload mapped card and PCM device")
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions
