[alsa-devel] [PATCH v2 1/2] ASoC: Remove 'const' from the device_node pointers

Mark Brown broonie at kernel.org
Mon Nov 10 20:37:04 CET 2014


On Sun, Nov 09, 2014 at 08:33:45PM +0100, Jean-Francois Moine wrote:

> index 7ba7130..405f967 100644
> --- a/include/sound/soc.h
> +++ b/include/sound/soc.h
> @@ -886,7 +886,7 @@ struct snd_soc_platform_driver {
>  
>  struct snd_soc_dai_link_component {
>  	const char *name;
> -	const struct device_node *of_node;
> +	struct device_node *of_node;
>  	const char *dai_name;
>  };
>  

The changelog talked about of_node_put() but I'm not seeing anything in
the code which calls that except snd_soc_of_get_dai_name()?  Everything
else just does comparisons of the pointer AFIACT from a quick scan
through.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141110/2fb6db80/attachment.sig>


More information about the Alsa-devel mailing list