mirror of https://gitee.com/openkylin/linux.git
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.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
96d5ebf25e
commit
096da809f6
|
@ -2631,7 +2631,7 @@ struct ess_device_list {
|
|||
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, 0x1028 },
|
||||
{ TYPE_MAESTRO2E, 0x103c },
|
||||
|
@ -2642,7 +2642,7 @@ static struct ess_device_list pm_whitelist[] = {
|
|||
{ 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 },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue