mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
ASoC: Intel: cirrus-common: Make const array uid_strings static
Don't populate the read-only const array uid_strings on the stack but instead make it static. Also makes the object code a little smaller. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20221103120624.72583-1-colin.i.king@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f7d97cb564
commit
b43d0c0a42
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ static const char * const cs35l41_name_prefixes[] = { "WL", "WR", "TL", "TR" };
|
|||
*/
|
||||
static int cs35l41_compute_codec_conf(void)
|
||||
{
|
||||
const char * const uid_strings[] = { "0", "1", "2", "3" };
|
||||
static const char * const uid_strings[] = { "0", "1", "2", "3" };
|
||||
unsigned int uid, sz = 0;
|
||||
struct acpi_device *adev;
|
||||
struct device *physdev;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue