mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-18 04:54:52 +00:00
ALSA: jack: More constification
Apply const prefix to the static jack switch table. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-40-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
51d7847a2d
commit
f98903fce9
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ struct snd_jack_kctl {
|
|||
};
|
||||
|
||||
#ifdef CONFIG_SND_JACK_INPUT_DEV
|
||||
static int jack_switch_types[SND_JACK_SWITCH_TYPES] = {
|
||||
static const int jack_switch_types[SND_JACK_SWITCH_TYPES] = {
|
||||
SW_HEADPHONE_INSERT,
|
||||
SW_MICROPHONE_INSERT,
|
||||
SW_LINEOUT_INSERT,
|
||||
|
|
Loading…
Add table
Reference in a new issue