Commit 096da809 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: es1968: More constifications

Apply const prefix to the quirk white/black lists.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-36-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 96d5ebf2
...@@ -2631,7 +2631,7 @@ struct ess_device_list { ...@@ -2631,7 +2631,7 @@ struct ess_device_list {
unsigned short vendor; /* subsystem vendor id */ unsigned short vendor; /* subsystem vendor id */
}; };
static struct ess_device_list pm_whitelist[] = { static const struct ess_device_list pm_whitelist[] = {
{ TYPE_MAESTRO2E, 0x0e11 }, /* Compaq Armada */ { TYPE_MAESTRO2E, 0x0e11 }, /* Compaq Armada */
{ TYPE_MAESTRO2E, 0x1028 }, { TYPE_MAESTRO2E, 0x1028 },
{ TYPE_MAESTRO2E, 0x103c }, { TYPE_MAESTRO2E, 0x103c },
...@@ -2642,7 +2642,7 @@ static struct ess_device_list pm_whitelist[] = { ...@@ -2642,7 +2642,7 @@ static struct ess_device_list pm_whitelist[] = {
{ TYPE_MAESTRO2, 0x125d }, /* a PCI card, e.g. SF64-PCE2 */ { TYPE_MAESTRO2, 0x125d }, /* a PCI card, e.g. SF64-PCE2 */
}; };
static struct ess_device_list mpu_blacklist[] = { static const struct ess_device_list mpu_blacklist[] = {
{ TYPE_MAESTRO2, 0x125d }, { TYPE_MAESTRO2, 0x125d },
}; };
......
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