linux/sound/soc/intel
Gaosheng Cui 515626a33a
ASoC: Intel: fix unused-variable warning in probe_codec
In configurations with CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC=n,
gcc warns about an unused variable:

sound/soc/intel/skylake/skl.c: In function ‘probe_codec’:
sound/soc/intel/skylake/skl.c:729:18: error: unused variable ‘skl’ [-Werror=unused-variable]
  struct skl_dev *skl = bus_to_skl(bus);
                  ^~~
cc1: all warnings being treated as errors

Fixes: 3fd63658ca ("ASoC: Intel: Drop hdac_ext usage for codec device creation")
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220822035133.2147381-1-cuigaosheng1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-09-13 17:12:08 +01:00
..
atom ASoC: Intel: sst: Replace sprintf() with sysfs_emit() 2022-08-15 01:19:46 +01:00
avs ASoC: Intel: avs: Fix potential buffer overflow by snprintf() 2022-08-05 12:57:22 +01:00
boards ASoC: Intel: bdw_rt286: Rename module 2022-08-16 13:08:02 +01:00
catpt ASoC: Intel: catpt: Drop SND_SOC_ACPI_INTEL_MATCH dependency 2022-08-16 13:08:03 +01:00
common ASoC: Intel: HSW and BDW updates 2022-08-16 17:33:11 +01:00
keembay ASoC: Intel: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:27 +01:00
skylake ASoC: Intel: fix unused-variable warning in probe_codec 2022-09-13 17:12:08 +01:00
Kconfig ASoC: Intel: catpt: Drop SND_SOC_ACPI_INTEL_MATCH dependency 2022-08-16 13:08:03 +01:00
Makefile ASoC: Intel: Introduce AVS driver 2022-03-11 16:23:54 +00:00