ALSA: ctxfi: More constifications
Apply const prefix to each possible place: the DAIO tables and the register offset table. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-32-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -92,7 +92,7 @@ int mgr_put_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int idx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static unsigned char offset_in_audio_slot_block[NUM_RSCTYP] = {
|
||||
static const unsigned char offset_in_audio_slot_block[NUM_RSCTYP] = {
|
||||
/* SRC channel is at Audio Ring slot 1 every 16 slots. */
|
||||
[SRC] = 0x1,
|
||||
[AMIXER] = 0x4,
|
||||
|
Reference in New Issue
Block a user