diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-15 20:32:54 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-16 01:56:02 -0500 |
commit | ccd7bd3d07bd763f0e7397e6cef16aaec0489fdc (patch) | |
tree | 2bdafb85fd1b4c050667f6808d2dbbfa88af00de /sound/pci/hda/patch_ca0132.c | |
parent | dea500c7c6e507c72ef94d0f6cd039d81b4c645f (diff) |
ALSA: hda/ca0132 - Make some symbols static
sound/pci/hda/patch_ca0132.c:387:19: sparse: symbol 'ca0132_voicefx' was not declared. Should it be static?
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_ca0132.c')
-rw-r--r-- | sound/pci/hda/patch_ca0132.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index daf5ee381e5c..483850f64150 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c | |||
@@ -387,14 +387,14 @@ struct ct_voicefx_preset { | |||
387 | unsigned int vals[VOICEFX_MAX_PARAM_COUNT]; | 387 | unsigned int vals[VOICEFX_MAX_PARAM_COUNT]; |
388 | }; | 388 | }; |
389 | 389 | ||
390 | struct ct_voicefx ca0132_voicefx = { | 390 | static struct ct_voicefx ca0132_voicefx = { |
391 | .name = "VoiceFX Capture Switch", | 391 | .name = "VoiceFX Capture Switch", |
392 | .nid = VOICEFX, | 392 | .nid = VOICEFX, |
393 | .mid = 0x95, | 393 | .mid = 0x95, |
394 | .reqs = {10, 11, 12, 13, 14, 15, 16, 17, 18} | 394 | .reqs = {10, 11, 12, 13, 14, 15, 16, 17, 18} |
395 | }; | 395 | }; |
396 | 396 | ||
397 | struct ct_voicefx_preset ca0132_voicefx_presets[] = { | 397 | static struct ct_voicefx_preset ca0132_voicefx_presets[] = { |
398 | { .name = "Neutral", | 398 | { .name = "Neutral", |
399 | .vals = { 0x00000000, 0x43C80000, 0x44AF0000, | 399 | .vals = { 0x00000000, 0x43C80000, 0x44AF0000, |
400 | 0x44FA0000, 0x3F800000, 0x3F800000, | 400 | 0x44FA0000, 0x3F800000, 0x3F800000, |