linux/sound/soc/intel/skylake
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
..
bxt-sst.c ASoC: Intel: Skylake: Unassign ram_read and read_write ops 2020-10-06 15:12:24 +01:00
cnl-sst-dsp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
cnl-sst-dsp.h ASoC: Intel: Skylake: (cosmetic) align function parameters 2020-08-18 11:50:26 +01:00
cnl-sst.c ASoC: Intel: fix error code cnl_set_dsp_D0() 2020-12-14 17:29:59 +00:00
Makefile ASoC: Intel: Skylake: Compile when any configuration is selected 2021-03-10 13:07:21 +00:00
skl-debug.c ASoC: intel: skl: Fix possible buffer overflow in debug outputs 2020-02-19 13:36:15 +00:00
skl-i2s.h ASoC: Intel: Skylake: Replace zero-length array with flexible-array 2020-05-12 17:14:33 +01:00
skl-messages.c ASoC: Intel: Skylake: Properly configure modules with generic extension 2021-08-23 16:40:04 +01:00
skl-nhlt.c ASoC: Intel: skylake: Replace sprintf() with sysfs_emit() 2022-08-15 01:19:48 +01:00
skl-pcm.c ASoC: Intel: skylake: skl-pcm: use pm_runtime_resume_and_get() 2022-06-27 13:17:53 +01:00
skl-ssp-clk.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
skl-ssp-clk.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
skl-sst-cldma.c ASoC: Intel: Skylake: cldma: remove redundant initialization 2020-08-18 11:50:22 +01:00
skl-sst-cldma.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
skl-sst-dsp.c ASoC: Intel: Remove sst_pdata structure 2020-10-06 15:12:28 +01:00
skl-sst-dsp.h ASoC: Intel: Skylake: Await purge request ack on CNL 2020-03-10 17:44:29 +00:00
skl-sst-ipc.c ASoC: Intel: Remove sst_dsp_get_thread_context 2020-10-06 15:12:29 +01:00
skl-sst-ipc.h ASoC: Intel: Skylake: (cosmetic) align function parameters 2020-08-18 11:50:26 +01:00
skl-sst-utils.c ASoC: Intel: Skylake: sst-utils: remove redundant assignment 2020-08-18 11:50:23 +01:00
skl-sst.c ASoC: Intel: Skylake: Unassign ram_read and read_write ops 2020-10-06 15:12:24 +01:00
skl-topology.c ASoC: Intel: Skylake: remove redundant re-assignments to pointer array 2022-06-16 09:31:18 +01:00
skl-topology.h treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
skl.c ASoC: Intel: fix unused-variable warning in probe_codec 2022-09-13 17:12:08 +01:00
skl.h ASoC: Intel: Skylake: Use NHLT API to search for blob 2021-11-30 16:49:34 +01:00