mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
ALSA: hda/ca0132: make array ca0132_alt_chmaps static
The array ca0132_alt_chmaps is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: warning: symbol 'ca0132_alt_chmaps' was not declared. Should it be static? Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
57cb54e53b
commit
9c4a665ed8
@ -5665,7 +5665,7 @@ static const char * const ca0132_alt_slave_pfxs[] = {
|
||||
* I think this has to do with the pin for rear surround being 0x11,
|
||||
* and the center/lfe being 0x10. Usually the pin order is the opposite.
|
||||
*/
|
||||
const struct snd_pcm_chmap_elem ca0132_alt_chmaps[] = {
|
||||
static const struct snd_pcm_chmap_elem ca0132_alt_chmaps[] = {
|
||||
{ .channels = 2,
|
||||
.map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } },
|
||||
{ .channels = 4,
|
||||
|
Loading…
Reference in New Issue
Block a user