Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: spi: More constification

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>

+1 -1
+1 -1
sound/spi/at73c213.c
··· 36 36 #define BITRATE_MAX 50000 /* Hardware limit. */ 37 37 38 38 /* Initial (hardware reset) AT73C213 register values. */ 39 - static u8 snd_at73c213_original_image[18] = 39 + static const u8 snd_at73c213_original_image[18] = 40 40 { 41 41 0x00, /* 00 - CTRL */ 42 42 0x05, /* 01 - LLIG */