diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 15:48:16 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 16:15:10 +0100 |
commit | e157f0cd056af9f2715dd91d55688a7c0fea4608 (patch) | |
tree | 307ca80eb4fff819bff9d44e091fe85fbd2165f4 /sound/pci | |
parent | ALSA: azt3328: More constification (diff) | |
download | linux-e157f0cd056af9f2715dd91d55688a7c0fea4608.tar.xz linux-e157f0cd056af9f2715dd91d55688a7c0fea4608.zip |
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.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/cs4281.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c index dc89ef906c9b..94d2a6a466a8 100644 --- a/sound/pci/cs4281.c +++ b/sound/pci/cs4281.c @@ -1939,7 +1939,7 @@ static void snd_cs4281_remove(struct pci_dev *pci) */ #ifdef CONFIG_PM_SLEEP -static int saved_regs[SUSPEND_REGISTERS] = { +static const int saved_regs[SUSPEND_REGISTERS] = { BA0_JSCTL, BA0_GPIOR, BA0_SSCR, |