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: 137306 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp5849474lji; Wed, 30 May 2018 15:06:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI951ynGoNOvo4wai2IoxfPo91gA4jybsV1nnBBARq4AQvZV31scoruiA+R44+ulqID5nRR X-Received: by 2002:adf:ed52:: with SMTP id u18-v6mr2912075wro.262.1527718018171; Wed, 30 May 2018 15:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527718018; cv=none; d=google.com; s=arc-20160816; b=rHAwxOTUsBUviuSBi4+eUJ0O8iPaOBw3M0pcQlcINS1fuNMljs0iPTqcvSQMuJGysq ORiZPDpi0TEdNUpQKdRypEeTYp8vMOhoZapynpbSi0sWL70768lVRHYdmc8gOuCMxQ/h AQWUbodW1G8uKYaR6IXMPhd1xYBRk2wLt85lXDMUs8B/OJOz4e1EfsFYNUUtJWkVD++D xrQj7FV36WssAlex0BFNlOY/0aj3WQaGuqSD0hFZ8Q7P8QMTNtdVLguKpLmfFdjsMNDQ HKtjoTKsX3ftx6nANvggsJSsu++tWkQAI8gOJ0bvQlEHyYTumB4a+AhhWOjFhM+19tet /87g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=+YlKRzlo+pEt5bko7D5tkG+tYpD6hnFZX+QGUsKs1TA=; b=ZlZIUzrxtx7v1tuQWh81Z3SsX5BZ4jSimcpUwSobU2RZtql62xmCeKh7TnYLcP3/YC R436UiyAgswMmL64GBm+cV37DlkPAcPQ2bn9taOKF47LQXfIbRhQ0zBKVXMAnISmrESW 3jg9hu+K9gOjk6sMZejez9mk8MHaUK32mqh1+p8MIJ5Yc7EP1HEhsZbKJ10CVJJHHOE/ MnltK9wLGWKDvcMqQdYPphWG0oUgO2/U8M9/a84wJyakZfO2nA4UFX7QNcbjHxKz87dK CETNJBBodDMQLEbybY1s4CPV2OzJhoqD795ftp3p+xC+Tw1sOJLr2wlcOEfnw59ypLEt GbkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id i11-v6si11740770wrh.108.2018.05.30.15.06.57; Wed, 30 May 2018 15:06:58 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE autolearn=disabled version=3.4.0 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 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(-) -- 2.9.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel 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);