From: Takashi Iwai Date: Wed, 16 Jan 2013 01:32:54 +0000 (+0800) Subject: ALSA: hda/ca0132 - Make some symbols static X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ccd7bd3d07bd763f0e7397e6cef16aaec0489fdc;p=deliverable%2Flinux.git 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 Signed-off-by: Takashi Iwai --- 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 { unsigned int vals[VOICEFX_MAX_PARAM_COUNT]; }; -struct ct_voicefx ca0132_voicefx = { +static struct ct_voicefx ca0132_voicefx = { .name = "VoiceFX Capture Switch", .nid = VOICEFX, .mid = 0x95, .reqs = {10, 11, 12, 13, 14, 15, 16, 17, 18} }; -struct ct_voicefx_preset ca0132_voicefx_presets[] = { +static struct ct_voicefx_preset ca0132_voicefx_presets[] = { { .name = "Neutral", .vals = { 0x00000000, 0x43C80000, 0x44AF0000, 0x44FA0000, 0x3F800000, 0x3F800000,