[alsa-devel] ASOC deprecated warning

Takashi Iwai tiwai at suse.de
Fri Oct 31 07:37:46 CET 2008


At Thu, 30 Oct 2008 15:57:33 -0400,
Jon Smirl wrote:
> 
> On Thu, Oct 30, 2008 at 3:51 PM, Mark Brown <broonie at sirena.org.uk> wrote:
> > On Thu, Oct 30, 2008 at 03:22:31PM -0400, Jon Smirl wrote:
> >> What's the status of this?
> >
> >> Could we have a Kconfig option of disabling deprecated APIs?
> >> If I can get rid of this I'll have a warning free build.
> >
> > The API is removed in ALSA git, you can cherry pick the patch over if
> > you want.  Otherwise I'd suggest taking it up with the people
> > maintaining the compiler infrastructure - there's no way to warn on use
> > of an API without also warning on the export of the API, which isn't
> > ideal.
> 
> sysfs has a config attribute for including legacy APIs. If it isn't
> set they compile out.

The functions will be removed in 2.6.29.  No further work needed.


Takashi


More information about the Alsa-devel mailing list