mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 12:00:00 +00:00
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: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20230627113253.700065-1-colin.i.king@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
d6048fdc87
commit
d17f0ce9a9
@ -44,7 +44,7 @@ struct compat_info {
|
||||
|
||||
static bool detect_loud_models(struct fw_unit *unit)
|
||||
{
|
||||
const char *const models[] = {
|
||||
static const char *const models[] = {
|
||||
"Onyxi",
|
||||
"Onyx-i",
|
||||
"Onyx 1640i",
|
||||
|
Loading…
x
Reference in New Issue
Block a user