[alsa-devel] [RFC PATCH] patch_ca0132.c: ca0132_alt_chmaps[] can be static

kbuild test robot lkp at intel.com
Mon Apr 23 08:57:04 CEST 2018


Fixes: 9e9ffabacc30 ("patch_ca0132.c: Handle SBZ and R3Di sound cards")
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
 patch_ca0132.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
index ddbb658..707d8ee 100755
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -5684,7 +5684,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,


More information about the Alsa-devel mailing list