Re: [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
> ---
>  sound/soc/codecs/cs42l73.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c
> index 42a8fd4..8524e22 100644
> --- a/sound/soc/codecs/cs42l73.c
> +++ b/sound/soc/codecs/cs42l73.c
> @@ -794,7 +794,7 @@ struct cs42l73_mclk_div {
>  	u8 mmcc;
>  };
>  
> -static struct cs42l73_mclk_div cs42l73_mclk_coeffs[] = {
> +static const struct cs42l73_mclk_div cs42l73_mclk_coeffs[] = {
>  	/* MCLK, Sample Rate, xMMCC[5:0] */
>  	{5644800, 11025, 0x30},
>  	{5644800, 22050, 0x20},
> @@ -844,7 +844,7 @@ struct cs42l73_mclkx_div {
>  	u8 mclkdiv;
>  };
>  
> -static struct cs42l73_mclkx_div cs42l73_mclkx_coeffs[] = {
> +static const struct cs42l73_mclkx_div cs42l73_mclkx_coeffs[] = {
>  	{5644800,  1, 0},	/* 5644800 */
>  	{6000000,  1, 0},	/* 6000000 */
>  	{6144000,  1, 0},	/* 6144000 */
> -- 
> 2.7.4
> 
> 
Acked-by: Brian Austin <brian.austin@xxxxxxxxxx>
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux