[alsa-devel] [PATCH 1/2] ALSA: ctxfi: Staticize local symbols

Takashi Iwai tiwai at suse.de
Fri Sep 13 14:38:51 CEST 2013


At Fri, 13 Sep 2013 15:14:21 +0530,
Sachin Kamat wrote:
> 
> Local symbols used only in this file are made static.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>

Thanks, applied both patches.


Takashi

> ---
>  sound/pci/ctxfi/ctdaio.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/pci/ctxfi/ctdaio.c b/sound/pci/ctxfi/ctdaio.c
> index 0c00eb4..84f86bf 100644
> --- a/sound/pci/ctxfi/ctdaio.c
> +++ b/sound/pci/ctxfi/ctdaio.c
> @@ -33,7 +33,7 @@ struct daio_rsc_idx {
>  	unsigned short right;
>  };
>  
> -struct daio_rsc_idx idx_20k1[NUM_DAIOTYP] = {
> +static struct daio_rsc_idx idx_20k1[NUM_DAIOTYP] = {
>  	[LINEO1] = {.left = 0x00, .right = 0x01},
>  	[LINEO2] = {.left = 0x18, .right = 0x19},
>  	[LINEO3] = {.left = 0x08, .right = 0x09},
> @@ -44,7 +44,7 @@ struct daio_rsc_idx idx_20k1[NUM_DAIOTYP] = {
>  	[SPDIFI1] = {.left = 0x95, .right = 0x9d},
>  };
>  
> -struct daio_rsc_idx idx_20k2[NUM_DAIOTYP] = {
> +static struct daio_rsc_idx idx_20k2[NUM_DAIOTYP] = {
>  	[LINEO1] = {.left = 0x40, .right = 0x41},
>  	[LINEO2] = {.left = 0x60, .right = 0x61},
>  	[LINEO3] = {.left = 0x50, .right = 0x51},
> -- 
> 1.7.9.5
> 


More information about the Alsa-devel mailing list