Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c4a665e authored by Colin Ian King's avatar Colin Ian King Committed by Takashi Iwai
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 57cb54e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,