diff mbox

[1/1] ALSA: usb-audio: Make ebox44_table static

Message ID 1357796954-9560-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Jan. 10, 2013, 5:49 a.m. UTC
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@linaro.org>
---
 sound/usb/mixer_quirks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Takashi Iwai Jan. 10, 2013, 10:01 a.m. UTC | #1
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@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
>
diff mbox

Patch

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,