Commit e157f0cd authored by Takashi Iwai's avatar Takashi Iwai

ALSA: cs4281: More constification

Apply const prefix to the static register table.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-62-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 83fdb6fb
...@@ -1939,7 +1939,7 @@ static void snd_cs4281_remove(struct pci_dev *pci) ...@@ -1939,7 +1939,7 @@ static void snd_cs4281_remove(struct pci_dev *pci)
*/ */
#ifdef CONFIG_PM_SLEEP #ifdef CONFIG_PM_SLEEP
static int saved_regs[SUSPEND_REGISTERS] = { static const int saved_regs[SUSPEND_REGISTERS] = {
BA0_JSCTL, BA0_JSCTL,
BA0_GPIOR, BA0_GPIOR,
BA0_SSCR, BA0_SSCR,
......
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