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

ALSA: pdaudiocf: More constification

Apply const prefix to the static table for verbs.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-67-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

+1 -1
+1 -1
sound/pcmcia/pdaudiocf/pdaudiocf_core.c
··· 179 179 /* from AK4117 then INT1 pin from AK4117 will be high all time, because PCMCIA interrupts are */ 180 180 /* egde based and FPGA does logical OR for all interrupt sources, we cannot use these */ 181 181 /* high-rate sources */ 182 - static unsigned char pgm[5] = { 182 + static const unsigned char pgm[5] = { 183 183 AK4117_XTL_24_576M | AK4117_EXCT, /* AK4117_REG_PWRDN */ 184 184 AK4117_CM_PLL_XTAL | AK4117_PKCS_128fs | AK4117_XCKS_128fs, /* AK4117_REQ_CLOCK */ 185 185 AK4117_EFH_1024LRCLK | AK4117_DIF_24R | AK4117_IPS, /* AK4117_REG_IO */