diff options
author | 2023-07-31 16:42:48 -0500 | |
---|---|---|
committer | 2023-07-31 23:22:34 +0100 | |
commit | fad1a9eff67d34b6f90cf4d1d2f1dc2632dfeeb4 (patch) | |
tree | 574890e36f5fbe3531fc51c8b666fd420a35e4cd /sound/soc/intel | |
parent | ASoC: intel: sof_sdw: Simplify find_codec_info_acpi (diff) | |
download | linux-fad1a9eff67d34b6f90cf4d1d2f1dc2632dfeeb4.tar.gz linux-fad1a9eff67d34b6f90cf4d1d2f1dc2632dfeeb4.tar.bz2 linux-fad1a9eff67d34b6f90cf4d1d2f1dc2632dfeeb4.zip |
ASoC: intel: sof_sdw: Constify parameter to find_codec_part_info
The address passed to find_codec_part_info should be const.
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230731214257.444605-15-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/boards/sof_sdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index d3222f40d798..fc67029b3a64 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -974,7 +974,7 @@ static struct sof_sdw_codec_info codec_info_list[] = { }, }; -static inline int find_codec_info_part(u64 adr) +static inline int find_codec_info_part(const u64 adr) { unsigned int part_id, sdw_version; int i; |