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 7E737C05027 for ; Wed, 8 Feb 2023 06:33:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbjBHGd1 (ORCPT ); Wed, 8 Feb 2023 01:33:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjBHGdZ (ORCPT ); Wed, 8 Feb 2023 01:33:25 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BF0038B67 for ; Tue, 7 Feb 2023 22:33:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=UEggocAYhaG/5pIix0dPz0HoDLSOKs9I71rtFWBGYa0=; b=C2t7tI5UScFx41Y+EJFG/GT56Q Xm/a/f18f4YdAtMw/RKIozICP2fUC5b+HKoNnjUnH3G9dTqVqBs/1Po1wLT7meHeGN7Qdl7P/3FI1 FG9kvtzv6mKRZW2kLXTEbMak7PLNJbtZY0VholxN6BaS2+N530WpbbtT4nVlJITS9dgAmNUyoF+3K Ts0yCvRAYQuQ1LAUhht8Y6wUiFIewzK5uAQgEv3NJwRcZNUNYBPdkIe2qQ3AJyGn/hC2K+pTZ7d6A uqqKC99BvogXSszzxTI5+qoSnaVNTV/gXTxeOA6trqfAQr84V8aVhIj1NwlheD9+RJMKuv9oHnSJF LKjf9p7g==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPe19-00EJMq-EB; Wed, 08 Feb 2023 06:33:19 +0000 Date: Tue, 7 Feb 2023 22:33:19 -0800 From: Christoph Hellwig To: Vijendar Mukunda Cc: broonie@kernel.org, alsa-devel@alsa-project.org, Basavaraj.Hiregoudar@amd.com, Sunilkumar.Dommati@amd.com, Mario.Limonciello@amd.com, Mastan.Katragadda@amd.com, arungopal.kondaveeti@amd.com, Vinod Koul , Bard Liao , Pierre-Louis Bossart , Sanyog Kale , open list Subject: Re: [PATCH] soundwire: export sdw_compute_slave_ports() function Message-ID: References: <20230201165944.3169125-1-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230201165944.3169125-1-Vijendar.Mukunda@amd.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 01, 2023 at 10:29:44PM +0530, Vijendar Mukunda wrote: > Export sdw_compute_slave_ports() function to use it in another > soundwire manager module. > Move sdw_transport_data structure to bus header file to export > sdw_compute_slave_ports() function. You might want to send this along with the actual user.