ALSA: sparc: More constifications
Apply const prefix to the static tables for rates, bits and strings. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-38-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -184,7 +184,7 @@ struct snd_cs4231 {
|
||||
* Some variables
|
||||
*/
|
||||
|
||||
static unsigned char freq_bits[14] = {
|
||||
static const unsigned char freq_bits[14] = {
|
||||
/* 5510 */ 0x00 | CS4231_XTAL2,
|
||||
/* 6620 */ 0x0E | CS4231_XTAL2,
|
||||
/* 8000 */ 0x00 | CS4231_XTAL1,
|
||||
@@ -218,7 +218,7 @@ static int snd_cs4231_xrate(struct snd_pcm_runtime *runtime)
|
||||
&hw_constraints_rates);
|
||||
}
|
||||
|
||||
static unsigned char snd_cs4231_original_image[32] =
|
||||
static const unsigned char snd_cs4231_original_image[32] =
|
||||
{
|
||||
0x00, /* 00/00 - lic */
|
||||
0x00, /* 01/01 - ric */
|
||||
|
Reference in New Issue
Block a user