From patchwork Wed Sep 7 21:34:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 75709 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp526764qgf; Wed, 7 Sep 2016 14:38:28 -0700 (PDT) X-Received: by 10.98.22.212 with SMTP id 203mr86250175pfw.74.1473284308267; Wed, 07 Sep 2016 14:38:28 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id rx5si16951411pac.54.2016.09.07.14.38.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Sep 2016 14:38:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhkXD-00023S-AX; Wed, 07 Sep 2016 21:37:31 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhkVV-0001Dw-Br for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2016 21:35:46 +0000 Received: by mail-pa0-x22b.google.com with SMTP id id6so9962011pad.3 for ; Wed, 07 Sep 2016 14:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bvqnXeBVgE8iJASubflqsjwCLGoa2d5kQW/O1TEnTP8=; b=DVRwrilYFvEd3ghGSOl8wQrlEXrU8UJCrqTAIojf81GAy4dQ2iM8uarVUWuLhgG67u swLgxNutJeUGYdz2NAGUmtEP4M/onnUjmwEkp4gBWZxYNATVVla7BQLabuoe2l4+xSj+ i5k0Xyv7fyMMHFe6qmUov0Gk+M9BOnaKtUcD4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bvqnXeBVgE8iJASubflqsjwCLGoa2d5kQW/O1TEnTP8=; b=XxS8og9RdT6/3CpFhVZJrjAx9659i6Ioo4pCrqoaTSz0wVaql3S/sFy7D8Vlgelmbm Lr3Fd+/zbgzW1YyWl5hsy4VvOGmLGe6qKb61U/OZqz3MTuBjfX7TLT33XV17fsMfOXi1 IRMXCjGExfL6anpkg6FgctrcYl4aqaf7FtpkzpQnu890KUuJMZiHjQPiapUnlqd6CFxy 3srJ/7EfgBLxuyr2hELtZK8maKNCjxBsVEiZ2pqWEMIJcwizNfmncQs0VP2x5NmN+oO5 rDwuS2qULDAyedbV9CgUD+eyc8YNcwbd9Mg68pUA4RpRX2G6SGWwlae46DViKz34UMq2 fanw== X-Gm-Message-State: AE9vXwMrz3UiUDx/uRMBkXZxehPJByammY/7xomJ0e7MNwPDMok/bpwPsQx03nVWxMsOussX X-Received: by 10.66.164.227 with SMTP id yt3mr86409145pab.117.1473284124596; Wed, 07 Sep 2016 14:35:24 -0700 (PDT) Received: from localhost.localdomain (ip68-101-172-78.sd.sd.cox.net. [68.101.172.78]) by smtp.gmail.com with ESMTPSA id 75sm51015417pfw.92.2016.09.07.14.35.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Sep 2016 14:35:24 -0700 (PDT) From: Stephen Boyd To: linux-usb@vger.kernel.org Subject: [PATCH v4 02/22] of: device: Export of_device_{get_modalias, uvent_modalias} to modules Date: Wed, 7 Sep 2016 14:34:59 -0700 Message-Id: <20160907213519.27340-3-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.9.0.rc2.8.ga28705d In-Reply-To: <20160907213519.27340-1-stephen.boyd@linaro.org> References: <20160907213519.27340-1-stephen.boyd@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160907_143545_546187_8E44F9D5 X-CRM114-Status: GOOD ( 11.38 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c03:0:0:0:22b listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Felipe Balbi , Arnd Bergmann , Neil Armstrong , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , devicetree@vger.kernel.org, Rob Herring , Peter Chen , Andy Gross , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org The ULPI bus can be built as a module, and it will soon be calling these functions when it supports probing devices from DT. Export them so they can be used by the ULPI module. Cc: Rob Herring Cc: Signed-off-by: Stephen Boyd --- drivers/of/device.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0.rc2.8.ga28705d _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/drivers/of/device.c b/drivers/of/device.c index 8a22a253a830..6719ab35b62e 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -225,6 +225,7 @@ ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len) return tsize; } +EXPORT_SYMBOL_GPL(of_device_get_modalias); int of_device_request_module(struct device *dev) { @@ -290,6 +291,7 @@ void of_device_uevent(struct device *dev, struct kobj_uevent_env *env) } mutex_unlock(&of_mutex); } +EXPORT_SYMBOL_GPL(of_device_uevent_modalias); int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env) {