From patchwork Wed May 30 22:06:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10440043 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D4E24601D3 for ; Wed, 30 May 2018 22:06:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE28329696 for ; Wed, 30 May 2018 22:06:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BCAE229689; Wed, 30 May 2018 22:06:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDF7329688 for ; Wed, 30 May 2018 22:06:57 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4936D2677E3; Thu, 31 May 2018 00:06:56 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 567892677E4; Thu, 31 May 2018 00:06:53 +0200 (CEST) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by alsa0.perex.cz (Postfix) with ESMTP id 940EB2677D4 for ; Thu, 31 May 2018 00:06:51 +0200 (CEST) Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0MF8TX-1fYJhy0bNL-00GII2; Thu, 31 May 2018 00:06:33 +0200 From: Arnd Bergmann To: Liam Girdwood , Mark Brown Date: Thu, 31 May 2018 00:06:03 +0200 Message-Id: <20180530220628.1613824-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:zo7ZsdWUAL+5d2VAO/P3sx4J9wU5AU2UYT5zZHWTqgfm2zGKQh4 jzX8r68lzHZ7ENbTWREM6i0jigQ1V6wwSCHNNaFCtuisy1qHMB5VZJFx9cz4Z+g3qZSZyj9 w/ZqlCR4bVRh5FeD/JZAVuLwphwhVVIGMEY9L4pta45LMTgG7Gvp4Fhq6k/Q7LxCDzB2Hfr Mv9u3CQm9Nzl/+e2Z2a5A== X-UI-Out-Filterresults: notjunk:1; V01:K0:qQV5uOLA3x4=:4W0gFgKzGnx+fMzFFW9KLo ny0+pCgYB6gjMrdbGoIDRablytFUd7h5iM92sOEz0f4zkxyhE6LPOmNfUz8C8rF8fI2VfUqqL 7PIs8SiDXXeuGcouQ8XmkeKD+NvVvaiVPVgqY+M1ArMw5HAJyUFjWGXd3euyQJiAg4BxWOBsA +3uAYBXMyAeKVyJ2B6h3IUdbomngn4l8+fR+tgwsIKNxfQnGgEOP8Q5tdcZnKWIYr9hgu70Ab RikXIXNZ3FSKJzC05lMIqdsFCwy8tLn7zKihkEMwJg35IozIATdaJSSkQKuPcuRwDe9wqbziN ovwChMV1nUvLMVqa8Mt1aQUmVa+5DNwkHzr0LlUA9RVEVnaSfxmOx0deKcAlTNhZUNP3e09jq z4saAuHHDbVg2dV/OSo6rf7PTWaCDgIOOSCHTQv8Sn8MDWj+yuD/5Eod9/vECm1BcVf2DrUWH hLvrlRoThFo10UHvhiXsaBqswvWfvzmnNVxhv2GzZVqS8hWioGL/bMyCEHnCzg4p+7j1MMFM2 QEsMIaMC/2kXPRWQWFFPoV3CClBf6aLGJbzabZwInuTITCxs0n+IsHR9TQeUI8IsRPAJOYv4q gStmQA7InfiDr/z7YSwk/FyP5GrWqii3+hPK4zAMgglylJaMkMrkj0+CRqlq9arFnDkK5d7Eb rqGJqr3Ia6lIlBcYe1tSNBxkd0We0fjBhVBthTjMeCV2vj9ILj6/obFiM4S8vtyr1QJQ= Cc: alsa-devel@alsa-project.org, Charles Keepax , Arnd Bergmann , Kuninori Morimoto , linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Takashi Iwai Subject: [alsa-devel] [PATCH] ALSA: unhide snd_soc_new_compress() declaration X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP My randconfig build setup came across a new build failure today: sound/soc/soc-topology.c: In function 'soc_tplg_dai_create': sound/soc/soc-topology.c:1758:27: error: 'snd_soc_new_compress' undeclared (first use in this function); did you mean 'snd_soc_compr_ops'? dai_drv->compress_new = snd_soc_new_compress; Simply making that prototype visible again fixes the build failure for me, though I'm not exactly sure why we don't get a link error now. The reference to snd_soc_new_compress() was added a few weeks ago and seems to have caused the problem. Fixes: 5db6aab6f36f ("ASoC: topology: Add support for compressed PCMs") Signed-off-by: Arnd Bergmann --- include/sound/soc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/sound/soc.h b/include/sound/soc.h index 600a7ebd10c0..8e073865bde3 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -460,9 +460,7 @@ struct snd_soc_component *snd_soc_lookup_component(struct device *dev, const char *driver_name); int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num); -#ifdef CONFIG_SND_SOC_COMPRESS int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num); -#endif void snd_soc_disconnect_sync(struct device *dev);