From patchwork Wed Oct 31 23:04:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 149892 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp98106ljp; Wed, 31 Oct 2018 16:07:10 -0700 (PDT) X-Google-Smtp-Source: AJdET5eQK7IgpjJlSc+8mJJ1dP9laIJp3kXS+7LsfdYc3X6arl2La33dtCA/cvwmBoMPxRaew3SQ X-Received: by 2002:a62:1e42:: with SMTP id e63-v6mr5234447pfe.149.1541027230371; Wed, 31 Oct 2018 16:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541027230; cv=none; d=google.com; s=arc-20160816; b=OgMsdDQR+x9RbUbD5MALMR1bXzo5gBVcjK3KQNC2jxyFug1jlv5kBu/3T/2HQwziLF JSIbk/K5LIQzXw5d0LkW1jZwGIxDzoF/qOgFp7I/TbfNZwYQG2XeiA92mn9s6bOw+VQn wrDeF5OtF1Vy+uwjgHvJtu853Xbwbk/e2PDQ+yt05/hGvGOjhEfFcVpSCOxwdGVQMyU/ 44uBNTmHXqxfl60dTHSYSNXcUW0B1WM9t9o9FeYL0CA5bjFFTQWOg1c2mHRtCPgbkYe8 +akBKJZtF8QH2MAl97PqU/7l5xDQNjEI/SVtbPlGz1b+3adOdQz3e5evW/639P1Mz8/H 7ecw== 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 f88-v6si29689616pfe.243.2018.10.31.16.07.09; Wed, 31 Oct 2018 16:07:10 -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 S1728779AbeKAIHS (ORCPT + 32 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(+) -- 2.17.1 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) {