From patchwork Thu Sep 3 16:00:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lad Prabhakar X-Patchwork-Id: 11754239 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE42B722 for ; Thu, 3 Sep 2020 16:00:58 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A00620716 for ; Thu, 3 Sep 2020 16:00:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="S0E+DpEX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A00620716 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5402+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id GJqhYY4521763xt78kCdw9WO; Thu, 03 Sep 2020 09:00:57 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com [210.160.252.172]) by mx.groups.io with SMTP id smtpd.web10.17513.1599148855608010585 for ; Thu, 03 Sep 2020 09:00:55 -0700 X-IronPort-AV: E=Sophos;i="5.76,387,1592838000"; d="scan'208";a="56085134" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 04 Sep 2020 01:00:54 +0900 X-Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 34ED04003875; Fri, 4 Sep 2020 01:00:53 +0900 (JST) From: "Lad Prabhakar" To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Biju Das Subject: [cip-dev] [PATCH 4.4.y-cip] of: Add missing exports of node name compare functions Date: Thu, 3 Sep 2020 17:00:52 +0100 Message-Id: <20200903160052.8806-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: zrZdmaZHhkGPxmpCVEWi0eNox4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599148857; bh=9AIqTaGdHArMI16hB7YNjEpUwpsqx5LVyu2y5+x5SKg=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=S0E+DpEXN/xDXqNQNzu5iDr/hgPFd+rvEU2VuerxKSm8mKTmf4tUsnqNbFTVeztgXcs hjjhmClK1dFiQGfMv5Xf0pB4/sq5t9kEs1zma7UBNah6oY3SUEAnhud0q1FugLKLDAPGh Iyju/IBEl048CA+IB64QXLB85MKB7mndwJU= From: Rob Herring commit 173ee3962959a1985a109f81539a403b5cd07ae7 upstream. Commit f42b0e18f2e5 ("of: add node name compare helper functions") failed to add the module exports to of_node_name_eq() and of_node_name_prefix(). Add them now. Fixes: f42b0e18f2e5 ("of: add node name compare helper functions") Signed-off-by: Rob Herring Signed-off-by: Lad Prabhakar --- Fixes build failure for multi_v7_defconfig --- drivers/of/base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index b02f4b272e5b..4e6af7c6c792 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -67,6 +67,7 @@ bool of_node_name_eq(const struct device_node *np, const char *name) return (strlen(name) == len) && (strncmp(node_name, name, len) == 0); } +EXPORT_SYMBOL(of_node_name_eq); bool of_node_name_prefix(const struct device_node *np, const char *prefix) { @@ -75,6 +76,7 @@ bool of_node_name_prefix(const struct device_node *np, const char *prefix) return strncmp(kbasename(np->full_name), prefix, strlen(prefix)) == 0; } +EXPORT_SYMBOL(of_node_name_prefix); int of_n_addr_cells(struct device_node *np) {