Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp172581imd; Wed, 31 Oct 2018 16:46:55 -0700 (PDT) X-Google-Smtp-Source: AJdET5cZMgC7oNO4lenYYhwnX6A8PKhdEo+Dy/bAJtiChnWbDQ0xnyKGzaBv7idZuSTKi1+Jtz4K X-Received: by 2002:a62:2bd4:: with SMTP id r203-v6mr3716560pfr.105.1541029614980; Wed, 31 Oct 2018 16:46:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541029614; cv=none; d=google.com; s=arc-20160816; b=TVqUSn3NLNA9zxjGwGF9wP7RHj7O0ycMdJzgdIxxnCTkZbPztebQO9VdAQJ8Cx+c83 SiOdUZ+tfP0MpUEHlwdWDEb7OTXVmcxa1aq80v4/0WOQ6RBnP77aBWEMqbyCIYsWJedC bSPLQM4iZL1wlKwqPOaYuvBPzgPNpDQDdcInAlvMA0Z7WuHTqBSSAYac2TCSVynISuCq q1DWSw/KP7SgsemsEHK72A5EztW011pRthf+6CzPMzO+ZbEYjrxIxXPPP9YDeGu3o/o/ AadLfQn9woG+VDbTgVPuUR9+zd28BMpPfktciW1AP5Rwpt1xP6/T4Gw+aOI7f08B0w5H yN6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=gxXYA0wLy9+nkmr6mmkEHQ4J73Eqmqq1nSKlwtdUBYY=; b=dp5hGK2a/pPOIhqTk1i2r7mglS3x9v2JqEvrUKPdPu2OIpMmxbAHgUaEhUTnWvk57q KdxbXtZ/riNCP2H8p3eBuUbptnZsZrNv8sBCHlXDSsYFgygc1cKdYA8fAJ5lKyNsT4Ma C0qssFPKMimhd2jOBkrfWJ+MJgV1NVJIYwpYlqcKMuEoI76fTMll0IHopMNN1fMEvDB0 Ms8vaYi/n7bOGmbo3tpr8Fe8YiIhrF0Rro6gmftTtJA9NdTtcd0Po0TQDlgqbWIvxYNo YEDbWcCTa4jplaTWYohpqMoeN0kj0kDQIgGeCEbxzaHtAJnsXVO4rGYYqydlMTNsRTtc tZLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gPWhmBcU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14-v6si7290797pga.422.2018.10.31.16.46.40; Wed, 31 Oct 2018 16:46:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gPWhmBcU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728773AbeKAIHS (ORCPT + 99 others); Thu, 1 Nov 2018 04:07:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:54876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728703AbeKAIHQ (ORCPT ); Thu, 1 Nov 2018 04:07:16 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CC56C2064C; Wed, 31 Oct 2018 23:07:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541027225; bh=3JtbUwR8XOp8MBQdW7nl0+6wkKqNfq9/3CsuUtWuzvA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gPWhmBcUNGM3x6wIbj6ChPPvs+kVnYKTfp7VkOjxYINN1sFWFRi6ZfC3a67DuMPKT THcqYTnxuSVncO45rgGa2gnoADTYPh1X4Yy8Ioms58rEnKVv9MUnBFyEhpasabIv/W 5Q5EkD9mgY6w2tttTPxZaTU2J8lR0kChJmRgAyyY= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Sasha Levin Subject: [PATCH AUTOSEL 4.19 091/146] of: Add missing exports of node name compare functions Date: Wed, 31 Oct 2018 19:04:46 -0400 Message-Id: <20181031230541.28822-91-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181031230541.28822-1-sashal@kernel.org> References: <20181031230541.28822-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Herring [ Upstream commit 173ee3962959a1985a109f81539a403b5cd07ae7 ] 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: Sasha Levin --- drivers/of/base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index 74eaedd5b860..70f5fd08891b 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) { -- 2.17.1