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

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
...@@ -5665,7 +5665,7 @@ static const char * const ca0132_alt_slave_pfxs[] = { ...@@ -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, * 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. * 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, { .channels = 2,
.map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } }, .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } },
{ .channels = 4, { .channels = 4,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment