[alsa-devel] [PATCH 06/11] ASoC: pxa: make snd_soc_platform_driver const

Robert Jarzmik robert.jarzmik at free.fr
Wed Aug 23 21:33:26 CEST 2017


Bhumika Goyal <bhumirks at gmail.com> writes:

> Make these const as they are only passed as the 2nd argument to the
> function devm_snd_soc_register_platform, which is of type const.
> Done using Coccinelle.
>
> Signed-off-by: Bhumika Goyal <bhumirks at gmail.com>
> ---
>  sound/soc/pxa/mmp-pcm.c    | 2 +-
>  sound/soc/pxa/pxa2xx-pcm.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

For sound/soc/pxa/pxa2xx-pcm.c :
Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>

Cheers.

--
Robert


More information about the Alsa-devel mailing list