ALSA: cs46xx: More constifications
Apply const prefix to each possible place: the static tables for registers and op codes, etc. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-30-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
此提交包含在:
@@ -3745,7 +3745,7 @@ static struct cs_card_type cards[] = {
|
||||
* APM support
|
||||
*/
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
static unsigned int saved_regs[] = {
|
||||
static const unsigned int saved_regs[] = {
|
||||
BA0_ACOSV,
|
||||
/*BA0_ASER_FADDR,*/
|
||||
BA0_ASER_MASTER,
|
||||
|
新增問題並參考
封鎖使用者