Commit d17f0ce9 authored by Colin Ian King's avatar Colin Ian King Committed by Takashi Iwai

ALSA: oxfw: make read-only const array models static

Don't populate the const array on the stack, instead make it static.
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Reviewed-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20230627113253.700065-1-colin.i.king@gmail.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d6048fdc
...@@ -44,7 +44,7 @@ struct compat_info { ...@@ -44,7 +44,7 @@ struct compat_info {
static bool detect_loud_models(struct fw_unit *unit) static bool detect_loud_models(struct fw_unit *unit)
{ {
const char *const models[] = { static const char *const models[] = {
"Onyxi", "Onyxi",
"Onyx-i", "Onyx-i",
"Onyx 1640i", "Onyx 1640i",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment