From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80D7EC64EC4 for ; Fri, 10 Mar 2023 14:33:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232531AbjCJOdV (ORCPT ); Fri, 10 Mar 2023 09:33:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232473AbjCJOdC (ORCPT ); Fri, 10 Mar 2023 09:33:02 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0232B11CD64 for ; Fri, 10 Mar 2023 06:32:24 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8FDB561745 for ; Fri, 10 Mar 2023 14:32:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94463C433D2; Fri, 10 Mar 2023 14:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1678458743; bh=DUMf+Gl2X4DauAvSUryXFjvWmzi5pOY9w2gGv/dBFAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jdNM9cwzNRI3qj4E2X1KCkgix9gfzV9DEOnu44p5YpxzmsuGKeNxD81eVxpvRYCdi 036sCh3l4BT5l42p9FKHg3FMZOxU+NcVpHZrC++fXDgYeK5QRhKoAgRUQSWtnoAn6O Hy66oSt5/mfb7uQcMZnKCaj0zKus8dzZImJhH++k= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Lucas Tanure , Charles Keepax , AngeloGioacchino Del Regno , Mark Brown , Sasha Levin Subject: [PATCH 5.4 130/357] ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared Date: Fri, 10 Mar 2023 14:36:59 +0100 Message-Id: <20230310133740.416068336@linuxfoundation.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230310133733.973883071@linuxfoundation.org> References: <20230310133733.973883071@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Lucas Tanure [ Upstream commit fdff966bfde7cf0c85562d2bfb1ff1ba83da5f7b ] Add struct snd_pcm_substream forward declaration Fixes: 078a85f2806f ("ASoC: dapm: Only power up active channels from a DAI") Signed-off-by: Lucas Tanure Reviewed-by: Charles Keepax Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20230215132851.1626881-1-lucas.tanure@collabora.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- include/sound/soc-dapm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 8c8988bfef8f4..659400d40873d 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -16,6 +16,7 @@ #include struct device; +struct snd_pcm_substream; struct snd_soc_pcm_runtime; struct soc_enum; -- 2.39.2