[alsa-devel] [PATCH 1/1] ALSA: usb-audio: Make ebox44_table static
Takashi Iwai
tiwai at suse.de
Thu Jan 10 11:01:04 CET 2013
At Thu, 10 Jan 2013 11:19:14 +0530,
Sachin Kamat wrote:
>
> Fixes the following sparse warning:
> sound/usb/mixer_quirks.c:1209:23: warning:
> symbol 'ebox44_table' was not declared. Should it be static?
>
> Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
Thanks, applied.
Takashi
> ---
> sound/usb/mixer_quirks.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
> index 0422b13..15520de 100644
> --- a/sound/usb/mixer_quirks.c
> +++ b/sound/usb/mixer_quirks.c
> @@ -1206,7 +1206,7 @@ static int snd_c400_create_mixer(struct usb_mixer_interface *mixer)
> * are valid they presents mono controls as L and R channels of
> * stereo. So we provide a good mixer here.
> */
> -struct std_mono_table ebox44_table[] = {
> +static struct std_mono_table ebox44_table[] = {
> {
> .unitid = 4,
> .control = 1,
> --
> 1.7.4.1
>
More information about the Alsa-devel
mailing list