[alsa-devel] [PATCH] ASoC: Constify snd_soc_dai_ops structs

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Nov 23 11:47:28 CET 2011


On Wed, Nov 23, 2011 at 11:40:40AM +0100, Lars-Peter Clausen wrote:
> Commit 1ee46ebd("ASoC: Make the DAI ops constant in the DAI structure")
> introduced the possibility to have constant DAI ops structures, yet this is
> barley used in both existing drivers and also new drivers being submitted,
> although none of them modifies its DAI ops structure. The later is not
> surprising since existing drivers are often used as templates for new drivers.
> So this patch just constifies all existing snd_soc_dai_ops structs to eliminate
> the issue altogether.

Applied, thanks.


More information about the Alsa-devel mailing list