From patchwork Fri Sep 4 06:59:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lad Prabhakar X-Patchwork-Id: 11755915 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 876DD138C for ; Fri, 4 Sep 2020 06:59:07 +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 20970206D4 for ; Fri, 4 Sep 2020 06:59:06 +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="nggKi6AT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 20970206D4 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+5414+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id VbAAYY4521763xz6otcJXQMs; Thu, 03 Sep 2020 23:59:06 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com [210.160.252.172]) by mx.groups.io with SMTP id smtpd.web12.32851.1599202745774213970 for ; Thu, 03 Sep 2020 23:59:06 -0700 X-IronPort-AV: E=Sophos;i="5.76,388,1592838000"; d="scan'208";a="56148330" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 04 Sep 2020 15:59:03 +0900 X-Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 730AE40062DC; Fri, 4 Sep 2020 15:59:02 +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 v2] of: Add missing exports of node name compare functions Date: Fri, 4 Sep 2020 07:59:01 +0100 Message-Id: <20200904065901.11195-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: JvHmmtrM9WLd3KEbEG9Is0SRx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1599202746; bh=x4PvEn9b0zdwjBRGV2V+TAI6RFTOE/xkIzJRm160hWo=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=nggKi6ATmqEt94QPidICipFw6ur7fwpdNlCVzuYMPgJTrWM2fCitQ+nlRtQy2MGsEhB 0fyuGPDjz5kxS/Dx46FziFVTuIdL4h0vDLEV25/M2bSTl/cdLEKOCAlsozAw+UWiUG/Lp lMwD8yPhlRhBZu225LKDWOOh4GadTEFYF4w= 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 [PL: Fixes eeaa48eee492d ("drm: rcar-du: Support panels connected directly to the DPAD outputs")] Signed-off-by: Lad Prabhakar --- v1->v2 * Included fixes tag. --- 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) {