OSDN Git Service

ASoC: Intel: cirrus-common: Make const array uid_strings static
authorColin Ian King <colin.i.king@gmail.com>
Thu, 3 Nov 2022 12:06:24 +0000 (12:06 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 3 Nov 2022 13:26:15 +0000 (13:26 +0000)
commitb43d0c0a42b2c44da824b3de0364d73be722a8c7
tree604bf98bc06462e8dae29bf7a47a70495f5387a3
parentf7d97cb564a2ac5517ee7cc933de729e533d659a
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>
sound/soc/intel/boards/sof_cirrus_common.c