From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ASOC deprecated warning Date: Fri, 31 Oct 2008 07:37:46 +0100 Message-ID: References: <9e4733910810301222v360ecf8aqbbead50759a2b844@mail.gmail.com> <20081030195107.GA13678@sirena.org.uk> <9e4733910810301257t159c1b20t3a0414b55410dd7f@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 3E84824339 for ; Fri, 31 Oct 2008 07:37:47 +0100 (CET) In-Reply-To: <9e4733910810301257t159c1b20t3a0414b55410dd7f@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Jon Smirl Cc: alsa-devel mailing list List-Id: alsa-devel@alsa-project.org At Thu, 30 Oct 2008 15:57:33 -0400, Jon Smirl wrote: > > On Thu, Oct 30, 2008 at 3:51 PM, Mark Brown 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