From patchwork Tue Oct 18 01:56:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 77888 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp656651qge; Mon, 17 Oct 2016 18:57:14 -0700 (PDT) X-Received: by 10.98.158.91 with SMTP id s88mr671037pfd.107.1476755834925; Mon, 17 Oct 2016 18:57:14 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p66si21612425pfp.103.2016.10.17.18.57.14; Mon, 17 Oct 2016 18:57:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; 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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935887AbcJRB4t (ORCPT + 7 others); Mon, 17 Oct 2016 21:56:49 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:34539 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933692AbcJRB4n (ORCPT ); Mon, 17 Oct 2016 21:56:43 -0400 Received: by mail-pa0-f43.google.com with SMTP id rz1so66782089pab.1 for ; Mon, 17 Oct 2016 18:56:41 -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=d8OE9XT8OuVWAbPn+xuJtf7iK6Z//A4UTMg4OMX7+NI=; b=hue9C9bha97S632aZEUH387HJ/vM9DRCKTkdS/l3HxII0KT2s7PhCfWSB5CuFrHrOw 8jFEhjyHqjajoOFUSaL3QMBMX3ypLtQHYFu3DrqXryiG7sqHBl2WvAO0nhUg9I8eaiOy qF6OXKCbdyF2bBe9S1flWv6/dyNehn6lFXWCQ= 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=d8OE9XT8OuVWAbPn+xuJtf7iK6Z//A4UTMg4OMX7+NI=; b=Oeu2j/dL2gp/EaCrhCkicsWZbDOu7DO48cskd0AX0nCRbSYbZKW6i9O2zO3rYK5Uya oar9WXZ5LcIYXiK0nZePfjEWbW03GpTSXzUQzCkseXcuvU9fr+HVfQ1GwdEArEV5ahVE 4iF5doWUXZA9EQG37IN8peGvNl8voBhyzRuYw54r5b22JRyyQqSxol5aSs15HTcEEgnD wBd/fgSvpWci8RRn92ntXlShaU2VUJ81UXQY92aG3mHG38ixT0LLk1sLNbPe90uIAsnB 0gJQgHNh+cl0Ir+j6K7ZEYUvFkjS4O8CmrXx+qvp3zI64iK74vN5Ya9J/OzDYAPUTNvc J5hQ== X-Gm-Message-State: AA6/9RkbJhSAr8Mjm9o/46uJPiegfT40HCWpgLx4jJ7lf3eetnCnW5hU+4AGDE08pv5pZ8sJ X-Received: by 10.66.166.238 with SMTP id zj14mr533672pab.205.1476755801266; Mon, 17 Oct 2016 18:56:41 -0700 (PDT) Received: from localhost.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id j6sm51020430paa.44.2016.10.17.18.56.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Oct 2016 18:56:40 -0700 (PDT) From: Stephen Boyd To: linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Andy Gross , Bjorn Andersson , Neil Armstrong , Arnd Bergmann , Felipe Balbi , Peter Chen , devicetree@vger.kernel.org Subject: [PATCH v5 02/23] of: device: Export of_device_{get_modalias, uvent_modalias} to modules Date: Mon, 17 Oct 2016 18:56:15 -0700 Message-Id: <20161018015636.11701-3-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.10.0.297.gf6727b0 In-Reply-To: <20161018015636.11701-1-stephen.boyd@linaro.org> References: <20161018015636.11701-1-stephen.boyd@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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. Acked-by: Rob Herring Cc: Signed-off-by: Stephen Boyd --- drivers/of/device.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.10.0.297.gf6727b0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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) {