diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2025-02-10 19:32:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-02-10 20:02:54 +0300 |
commit | b19181638182d1f5c43757b471c056b6196c8ca3 (patch) | |
tree | 0ecc527e9c5f0240f19771aea68d292bcfdcd4e4 /scripts/generate_rust_analyzer.py | |
parent | ccc8480d90e8cb60f06bd90e227f34784927e19f (diff) | |
download | linux-b19181638182d1f5c43757b471c056b6196c8ca3.tar.xz |
ASoC: cs35l41: Fix acpi_device_hid() not found
Function acpi_device_hid() is only defined if CONFIG_ACPI is set.
Use #ifdef CONFIG_ACPI to ensure that cs35l41 driver only calls this
function is CONFIG_ACPI is define.
Fixes: 1d44a30ae3f9 ("ASoC: cs35l41: Fallback to using HID for system_name if no SUB is available")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502090100.SbXmGFqs-lkp@intel.com/
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
Link: https://patch.msgid.link/20250210163256.1722350-1-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions