From patchwork Tue May 18 00:13:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 12263373 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 095EDC433B4 for ; Tue, 18 May 2021 00:16:04 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 83CCA61360 for ; Tue, 18 May 2021 00:16:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 83CCA61360 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2A2551662; Tue, 18 May 2021 02:15:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2A2551662 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1621296960; bh=q9PraTSHc5kkvWK8/hS9Y1EKGz12jr6frLa87B/70ec=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=jyazkLzby3UIwYYgyS2G/25emEvYPra1A+4e0AoYbTltnMQ3k/xs50RBmxzXkvsXY 7FzqLHKSMLgms48oJ3FbvFf0w6uxGDWKY6186Gld1GxSKD+Ht1+lP8kre1HKVJ5Sz9 eqJSeg2uIbK0ZlD5vIVu/mIagpugvOiH9OVOGlps= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 83826F8020B; Tue, 18 May 2021 02:15:09 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4BF4BF80249; Tue, 18 May 2021 02:15:07 +0200 (CEST) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DA0D1F8016E for ; Tue, 18 May 2021 02:15:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DA0D1F8016E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="vATPGbMM" Received: by mail-lf1-x129.google.com with SMTP id x19so11399917lfa.2 for ; Mon, 17 May 2021 17:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lSMTeudjmbqslYZm6BULQgpkK8TB81O41ed4uaKwacM=; b=vATPGbMMpoPn7Egs/BRTAKdPALZJMoHc9Ins8ZW4pMvBGzcA1e4Q6eFLnYVuClZmq6 Zz79YHFfAk68qQRkvcuJ1OR4LmjvNijKU3MTtaF64IfcCgU2u6OSwESBMAvdSDT6E4MA 8G4z25/Dq7PNKd6NG3X46VmCmXxFZeqmMZ3ckYOgWCh1Ok/oekcN4ixtw2bkWC3+qgfM ArFmNhmMctygtBSrf7F2oUV+ikmMlab9czYda6TlabPiDQxxpg2W+uthMz4k6suGmLxe stWxB0WHQDh1p3T1Ia7V+reGNXGU0rladR+FERffeaUOLWhqfKrFdPvLfJ+9iJP2eSp9 841Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lSMTeudjmbqslYZm6BULQgpkK8TB81O41ed4uaKwacM=; b=GsNiev0YXDRiGp2WQAIlU6+aqGe8Ba6tFZ3bac7X2kYvkoxicx6lgrVpu5vpl4Adzu hgjGSKiCazNAjgaQLxrN9J2tDp22Zp2YOgEMnHp17LRrYoDdvigsvpOokSZEtq0Arv1b QriwWLYYsI4gmiFhuqTkXFwANszqqJXd/RVv/Egzf8YqEl6gLaAlY+ZhO631AzTDMGAm GuGMYEcxRjR5O0BOfiR8M3zHbLBeHfBZUH3YNDUbH1emttmTjUR9slkfYV7GkC6KT6Vq gAbeekadVpokE2bF+1EZRH34aKzeVEM/9aP/FE61zhh5UUI1Q2RBWkuzvflyqher9od2 9ytA== X-Gm-Message-State: AOAM530FNuhvWXdGPIicOP/lIT/CEMUd0q6XRvYgoNJ3lr7WPHNjp3pt VRxsBFNQReOFfryLUZXTTLs= X-Google-Smtp-Source: ABdhPJyQ/JQKLMRzRq4CChV/hgp8NZ/kqbg8XtoFu6JyF6Gdy0dFgQvHaPZTbHL0YMQZL/TeCVn3Kw== X-Received: by 2002:ac2:5cc9:: with SMTP id f9mr1909771lfq.109.1621296901902; Mon, 17 May 2021 17:15:01 -0700 (PDT) Received: from localhost.localdomain (109-252-193-91.dynamic.spd-mgts.ru. [109.252.193.91]) by smtp.gmail.com with ESMTPSA id p4sm2108062lfa.155.2021.05.17.17.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 17:15:01 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Mark Brown , Takashi Iwai , Jaroslav Kysela , Ion Agorria , Svyatoslav Ryhel , Rob Herring , Frank Rowand , Liam Girdwood Subject: [PATCH v1 1/2] of: base: Export of_device_compatible_match() Date: Tue, 18 May 2021 03:13:55 +0300 Message-Id: <20210518001356.19227-2-digetx@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210518001356.19227-1-digetx@gmail.com> References: <20210518001356.19227-1-digetx@gmail.com> MIME-Version: 1.0 Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" The of_device_compatible_match() will be used by the updated NVIDIA Tegra ASoC WM8903 driver which could be build as a loadable module, export the OF function. Signed-off-by: Dmitry Osipenko --- drivers/of/base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index 48e941f99558..eeca92467531 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -556,6 +556,7 @@ int of_device_compatible_match(struct device_node *device, return score; } +EXPORT_SYMBOL(of_device_compatible_match); /** * of_machine_is_compatible - Test root of device tree for a given compatible value