diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-06-21 14:40:50 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-22 12:47:04 +0100 |
commit | 590cfb082837cc6c0c595adf1711330197c86a58 (patch) | |
tree | 05ebf0ab2fbb743b63d0c7a7bd371b1f9e427d49 /sound/soc/intel/common/soc-acpi-intel-glk-match.c | |
parent | b0cf3d3ccf31f31c9c415566968caf1405fc0893 (diff) | |
download | linux-stable-590cfb082837cc6c0c595adf1711330197c86a58.tar.gz linux-stable-590cfb082837cc6c0c595adf1711330197c86a58.tar.bz2 linux-stable-590cfb082837cc6c0c595adf1711330197c86a58.zip |
ASoC: Intel: sof_rt5682: shrink platform_id names below 20 characters
Some Chromebooks machine driver aliases exceed 20 characters, which
leads to sparse warnings:
sound/soc/intel/boards/sof_rt5682.c:959:25: error: too long
initializer-string for array of char(no space for nul char)
sound/soc/intel/boards/sof_rt5682.c:989:25: error: too long
initializer-string for array of char(no space for nul char)
sound/soc/intel/boards/sof_rt5682.c:1039:25: error: too long
initializer-string for array of char(no space for nul char)
Fix by using the 'mx' shortcut for Maxim platforms (already used in
platform firmware)
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20210621194057.21711-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/soc-acpi-intel-glk-match.c')
0 files changed, 0 insertions, 0 deletions