summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorYu-Chun Lin <eleanor15x@gmail.com>2025-01-10 01:15:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-17 10:04:55 +0100
commit999531398e15a4cf7a300271680ab593bc32d67a (patch)
treec644586a63069b59e28af42708d6bad344a487a4 /include/uapi
parent06fe7c32d58a3d819667dff9ae4bef24befeb536 (diff)
downloadlinux-999531398e15a4cf7a300271680ab593bc32d67a.tar.gz
linux-999531398e15a4cf7a300271680ab593bc32d67a.tar.bz2
linux-999531398e15a4cf7a300271680ab593bc32d67a.zip
ASoC: amd: Add ACPI dependency to fix build error
[ Upstream commit 7e24ec93aecd12e33d31e38e5af4625553bbc727 ] As reported by the kernel test robot, the following error occurs: sound/soc/amd/yc/acp6x-mach.c: In function 'acp6x_probe': >> sound/soc/amd/yc/acp6x-mach.c:573:15: error: implicit declaration of function 'acpi_evaluate_integer'; did you mean 'acpi_evaluate_object'? [-Werror=implicit-function-declaration] 573 | ret = acpi_evaluate_integer(handle, "_WOV", NULL, &dmic_status); | ^~~~~~~~~~~~~~~~~~~~~ | acpi_evaluate_object cc1: some warnings being treated as errors The function 'acpi_evaluate_integer' and its prototype in 'acpi_bus.h' are only available when 'CONFIG_ACPI' is enabled. Add a 'depends on ACPI' directive in Kconfig to ensure proper compilation. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202501090345.pBIDRTym-lkp@intel.com/ Signed-off-by: Yu-Chun Lin <eleanor15x@gmail.com> Link: https://patch.msgid.link/20250109171547.362412-1-eleanor15x@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions