ALSA: spi: More constification
authorTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2020 14:48:22 +0000 (15:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2020 15:15:13 +0000 (16:15 +0100)
Apply const prefix to the static table for registers.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-68-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/spi/at73c213.c

index e51bbf7836a22834910d5b8fcc17eefa810ce9bd..76c0e37a838cf430f1fdec54b07368c11a05c010 100644 (file)
@@ -36,7 +36,7 @@
 #define BITRATE_MAX    50000 /* Hardware limit. */
 
 /* Initial (hardware reset) AT73C213 register values. */
-static u8 snd_at73c213_original_image[18] =
+static const u8 snd_at73c213_original_image[18] =
 {
        0x00,   /* 00 - CTRL    */
        0x05,   /* 01 - LLIG    */